MATLAB: Save image with Compression JPEG 2000

jpeg 2000

How Ican save an image png (I use imwrite) with the compression method : JPEG 2000 without loss information ?
THank you

Best Answer

imwrite(image,'jp2') Or imwrite(image,'jpx') to save image in jpeg 2000 format. Refer "fmt" part of input arguements section of documentation page : https://www.mathworks.com/help/matlab/ref/imwrite.html
Related Question