Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#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.

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, May 9, 2007 3:43:48 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)


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.

Maen Badwan
LEADTOOLS Technical Support
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.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.038 seconds.