Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: SetDefine Options for the JP2000 encoder not works

$
0
0
ImageMagick uses the name of the 'coder' as the suffix for the options. In this case the coder is not J2K but JP2. So you should use MagickFormat.Jp2. I don't know where you found those options but they are not on this page: http://www.imagemagick.org/script/jp2.php. I double checked the code and those are the available options.
  • cblkwidth and cblkheight cannot be changed at the moment, they are initialized at 32 (Let me know if you need me to add an extra jp2 option to the code and I should be able to add this before the next release)
  • prg = jp2:progression-order and is initialized with 'CPRL'.
  • numrlvls = jp2:number-resolutions and has a default value of 6.
  • rate = jp2:rate.
p.s. I am planning to make the defines easier with classes per 'coder' that have defines. I don't know when I will add this but at some point you will have an Jp2Defines class that will make life easier for you.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>