Hello, I've just had a quick look through the source code & it appears that the resolution fields of the JPEG are not read / written out again. I suspect the 72 you are getting is a default value.
In the JPEG library which jpegicc uses, there are two structs of interest here. They are jpeg_decompress_struct and jpeg_compress_struct. In both of these, the members X_density and Y_density specify the density, and density_unit gives the units (1 is pixels per inch, 2 is pixels per cm). The code needs to be modified to save these values from the decompression object on read and copy them to the compression object on write. I think this all happens in jpegicc.c but I've only had a brief look at the code. Read the documentation in the JPEG-6b lib from http://www.ijg.org. I might submit a patch if I get time... Rob. Quoting taa boo <[EMAIL PROTECTED]>: > Dear members, > > I already try all the way to improve resolution of my > result CMYK image from a RGB image but failed > > jpegicc -c0 -m0 -q85 > -o"D:\WINNT\system32\spool\drivers\color\USWebCoatedSWOP.icc" > 11.jpg myTooLowResolutionCMYK.jpg > > I already try all parameters possibilities but Adobe > Photoshop always reports me a fixed value of > resolution 72 in > myTooLowResolutionCMYK.jpg > > 11.jpg (RGB source) has much higher resolution 300 > > Any help is appreciated, > > Thank a lot , a lot for any reply because it is quite > URGENT and my boss is behind my shoulder :-(( > > Dang hop > > __________________________________ > Do you Yahoo!? > Find out what made the Top Yahoo! Searches of 2003 > http://search.yahoo.com/top2003 > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Lcms-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/lcms-user > -- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Lcms-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lcms-user
