LEADTOOLS Support
General
General Questions
How to change compression quality when saving jpg image
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, May 8, 2007 8:30:42 AM(UTC)
Groups: Registered
Posts: 4
How can I change the quality when saving a RasterImage object to a jpeg? I'm using the codec.Save method.
#2
Posted
:
Wednesday, May 9, 2007 3:43:48 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
You can change the Quality when saving JPEG image by using the codecs.Options.Jpeg.Save.QualityFactor property before saving the image. You can set a value from 2 to 255, where 2 is the highest quality and 255 is the most compression.
Also, you can use a factor of 0 to produce lossless JPEG files, but please keep in mind that not many applications support this format.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
LEADTOOLS Support
General
General Questions
How to change compression quality when saving jpg image
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.