How to compress an image with different strength in jpg compression

4 views (last 30 days)
how to compress an image with different strength in jpg compression

Accepted Answer

Wayne King
Wayne King on 31 Oct 2011
Use imwrite() with 'Compression' set to 'jpeg' and 'Quality', a number between 0 and 100.
Note there are other options for jpeg images as well. These are documented in the imwrite reference page.
  2 Comments
Jan
Jan on 31 Oct 2011
@Wayne: Optimal answer inspite of triviality. +1
@Sumit: Please read the documentation before posting in the forum.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!