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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, April 27, 2009 3:19:55 AM(UTC)
John Duffy

Groups: Registered
Posts: 2


Hi,

I am just evaluating LeadTools at the moment.
Looking at the different ways to specify compression on saving JPG2000 images.  I can use
codecs.Options.Jpeg2000.Save.CompressionControl = CodecsJpeg2000CompressionControl
.Lossless;
OR
codecs.Options.Jpeg2000.Save.CompressionControl = CodecsJpeg2000CompressionControl
.Ratio;
and use a corresponding float value for the ratio set with:
codecs.Options.Jpeg2000.Save.CompressionRatio = Convert.ToSingle(i);

But the option:
codecs.Options.Jpeg2000.Save.CompressionControl = CodecsJpeg2000CompressionControl
.QualityFactor;
does not have a corresponding value which I can set in the codecs.Options.Jpeg2000.Save options.

Why is that and what am I doing wrong?

Many thanks

John

 

 

 


 

 

 

 

 

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 : Monday, April 27, 2009 5:40:34 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

John,

You can change the QualityFactor when saving JPEG2000 images by using the codecs.Options.Jpeg.Save.QualityFactor property.
For more information, please read the help topic "CodecsJpeg2000CompressionControl Enumeration" in the LEADTOOLS .Net documentation.

Thanks,
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-2024, Yet Another Forum.NET
This page was generated in 0.047 seconds.