How to save progressive jpeg with Matlab?

1 view (last 30 days)
Jernej
Jernej on 8 Jan 2015
Commented: Jernej on 9 Jan 2015
Is it possible to save an image as a progressive jpeg from within Matlab? Using imwrite()? Or calling an outside .jar or similar?
Thank you!
J.

Answers (1)

Isabella Osetinsky-Tzidaki
try export_fig code from the "File Exchange"
  1 Comment
Jernej
Jernej on 9 Jan 2015
I am trying to imwrite() an RGB image I already have in a matrix. If I 'imfinfo()' the JPEG image saved by Matlab, I get:
CodingMethod: 'Huffman'
CodingProcess: 'Lossless'
or
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
and I'm looking for a method that would allow me to save Progressive, so the 'imfinfo()' would return:
CodingMethod: 'Huffman'
CodingProcess: 'Progressive'

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!