Well, this took some time to figure out, but I found a program which can 
convert images (and a lot of other stuff) via the command prompt. 
http://www.imagemagick.org/script/index.php

convert "C:\photos\cmyk.jpg" -profile "C:\icc\EuropeISOCoatedFOGRA27.icc" 
-profile "C:\icc\sRGB Color Space Profile.icm" "C:\photos\rgb.jpg"

... which is simply called with cfexecute. And it works, and because it can use 
the color profiles, the colors in the resulting converted image are actually 
pretty decent. 

Only trouble is that it is fairly slow, with high resolution images causing 
time-outs. I'm not sure if that's really something we can live with, but for 
now, this will be the way to go.


Jack

>If you get an answer to this let me know.
>
>I've been trying to solve this one for years and finally gave up...
>
>The best I was ever able to do was to detect if an image was CMYK...
>
>-- 
>Alan Rother
>Adobe Certified Advanced ColdFusion MX 7 Developer
>Manager, AZCFUG.org

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273564
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to