Hi,

Humm... sounds weird.

The transform seems Ok, indeed. The problem seems to be
in the monitor profile. :-|

Have you tried TIFFICC utility? just to see if there is something
wrong on the code. Here is an updated binary, using last revision
http://www.littlecms.com/tifficc.exe

If it also fails, you could send me the monitor profile
to [EMAIL PROTECTED] and I will try to see what is
going wrong.


Regards,
Marti.


----- Original Message -----
From: "Jeffrey Travis" <[EMAIL PROTECTED]>
To: "Mart� Maria" <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 2:51 PM
Subject: Re: [Lcms-user] Source code for littlecms demo?


Hi Marti

Thanks for your quick reply! Basically I'm trying to incoporate color
management into a utility for TIFF and JPEG images that runs on Windows.
This utility is a Mac product that uses Colorsync, so I'm trying to code an
equivalent color management functionality into Windows (I don't like ICM).
Right now I'm only working on the TIFF part.

Here's what happens:

1. I read TIFF with an embedded profile. I can read an embedded ICC profile
fine, no problem. I open this profile with cmsOpenProfile and get the
handle.
2. I read the monitor RGB profile that is the default for my laptop.
3. I get the error at this point:
        The_Transform = cmsCreateTransform(
                         gInput_File_Profile_cmsHandle, //embedded profile
                         TYPE_CMYK_8, // is 8-bit CMYK
                         gRGB_Display_Profile_cmsHandle, //monitor profile
                         TYPE_RGB_8,
                         sRenderingIntent, //set by user in the GUI
                          0);

When I call this function, I get "Error #3000, profile is unsuitable for
output"

Now I have tried this with many different CMYK profiles, from a Generic CMYK
to some very large and detailed profiles. But all of them give me the same
error. I know there should be some way to transform these because on the
MacOS I can use ColorSync to make it work just fine.  Any help you could
give me is greatly appreciated!

Thanks!

Jeffrey






-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to