LEADTOOLS Support
Imaging
Imaging SDK Questions
No corresponding values for codecs.Options.Jpeg2000.Save.CompressionControl = CodecsJpeg2000Compress
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, April 27, 2009 3:19:55 AM(UTC)
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
#2
Posted
:
Monday, April 27, 2009 5:40:34 AM(UTC)
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
LEADTOOLS Support
Imaging
Imaging SDK Questions
No corresponding values for codecs.Options.Jpeg2000.Save.CompressionControl = CodecsJpeg2000Compress
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.