Ask Your Question

How can I set some parameter for imwrite to save a file in JP2 format?

asked 2015-09-11 00:43:17 -0600

p1vio gravatar image

I would like to save a file in a jp2 format, but I would like to use different compression rate. What parameters I can set when I use imwrite or imencode to get a jp2 (jpeg 2000) format?

edit retag flag offensive close merge delete


Is there another way to encode an image into a jp2 format and to be able to set the compression rate? Or is there any plan to add parameters for encoding into jp2 format? Thank you.

p1vio gravatar imagep1vio ( 2015-09-11 01:18:52 -0600 )edit

hmm, maybe there's a way to add something here (idk.)

for sure, you will have to dive deep into the 3rdparty src

berak gravatar imageberak ( 2015-09-11 01:43:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-11 00:47:13 -0600

berak gravatar image

updated 2015-09-11 00:48:42 -0600

unfortunately, it's not possible, there are no params to set for this.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-09-11 00:43:17 -0600

Seen: 2,253 times

Last updated: Sep 11 '15