Available in the LEADTOOLS Imaging toolkit. |
J2KCompressionRatio example for Visual Basic
' compress a JPEG2000 file using 100:1 comp ratio
LEAD1.J2KCompressionControl = J2K_COMP_RATIO
LEAD1.J2KCompressionRatio = 100#
LEAD1.Save "c:\temp\100_to_1.j2k", FILE_J2K, 0, 0, SAVE_OVERWRITE