List Info

Thread: need advice on adding cms to an image viewer




need advice on adding cms to an image viewer
user name
2006-08-01 13:26:52
Marti wrote:
> Keep in mind color transforms are a loosy process--you
may loss information
> each time you apply a color transform. In this way, it
is generally 
> better to
> do the color management at the last stage. I.e., load
the image using 
> its native
> representation and do the conversion to monitor space
at display time.

That's what I had tried. But I am doing some editing on the
image, and 
the profile conversion was really slowing down the display.
Even though 
it's a bit lossy, I decided to do the conversion on LOAD,
then embed the 
eventual profile in the saved image.

Thanks for the advice!

> 
> That is, unless you plan to edit the image. In this
case, you probably 
> want to
> do the image processing in some well-known space. This
is the whole point
> of workspaces. My recomendation would be to avoid
workspaces unless you
> really needs that.
> 
> For untagged images, you have several options. One
would be to let end 
> user to
> select the default colorspace. Many devices (printers,
etc) operates in 
> such way.
> Otherwise, you could assume untagged data is in some
default colorspace.
> Reasonable defaults  would be sRGB
(cmsCreate_sRGBProfile) for RGB and
> SWOP or ISO coated for CMYK.
> 
> Regards
> Marti Maria
> The littleCMS project
> http://www.littlecms.com
> 
> 
> 
> ----- Original Message ----- From: "Paul
Miller" <paulfxtech.com>
> To: <lcms-userlists.sourceforge.net>
> Sent: Sunday, July 30, 2006 7:38 PM
> Subject: [Lcms-user] need advice on adding cms to an
image viewer
> 
> 
>> I am working on an image manipulator/viewer and I
want to support ICC
>> color profiles so the image will look
"right" on the monitor and 
>> printers.
>>
>> I don't have any experience with ICC profiles but
I shouldn't have any
>> problem integrating the lcms library into my
application. But I'm not
>> sure where in the process I need to do the color
conversion, and what I
>> should use as a source profile when loading an
image that doesn't have 
>> one.
>>
>> Do I need to do a transform on LOAD to get the
image into some common
>> working space (like sRGB), then another transform
at display time to
>> integrate the desired output profile? If the image
contains an ICC
>> profile, should I transform from that profile to
the "working" profile?
>> What happens if there is no embedded profile?
>>
>> I appreciate any and all pointers on this matter!
>>
>>
>> -- 
>> Paul Miller | paulfxtech.com | www.fxtech.com
| Got Tivo?
>>
>>
>>
------------------------------------------------------------
-------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll
get the chance to 
>> share your
>> opinions on IT & business topics through brief
surveys -- and earn cash
>> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Lcms-user mailing list
>> Lcms-userlists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lcms-user
>>
>>
> 
> 


-- 
Paul Miller | paulfxtech.com | www.fxtech.com | Got Tivo?


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys
-- and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lcms-user mailing list
Lcms-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )