On Wed, 7 Jun 2006, Marti wrote:
>> I am trying to convert RGB images to CMYK using
lcms
>> and libjpeg ( with the help of jpegicc ). It is
>> working correctly except that the output files are
>> more than 3 times the original size. If I try same
>
> Ok, that is because jpegicc unpacks the data, applies
> the color management and then packs the data again,
> but sometimes libjpeg has no clue on which level of
> compression, quantization tables, etc, to apply.
Take a look at the GraphicsMagick JPEG sources. There is
code in
there to obtain the original compression and subsampling
values. The
original values can be reused when the file is saved in
order to
reduce loss. If the colorspace is changed, reusing the
original
values may not be suitable.
Bob
======================================
Bob Friesenhahn
bfriesen simple.dallas.tx.us, http://w
ww.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMag
ick.org/
_______________________________________________
Lcms-user mailing list
Lcms-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user
|