How can i convert my image into JPG from PNG?

20 views (last 30 days)
i have a PNG image in my phone and i want to convert it into JPG.

Answers (2)

Star Strider
Star Strider on 22 Aug 2015
I would keep it as .png because the image quality is better. But if you want to convert it, see if reading it into MATLAB (as a .png file) and saving it with a .jpg extension instead works. You’ll still have the original file, so nothing is lost.
  2 Comments
Jack rashid
Jack rashid on 22 Aug 2015
can i use other some other conversion tools that offer such service online.
Star Strider
Star Strider on 22 Aug 2015
Probably, but I have no experience with them, so I can’t comment on them.
I thought you wanted a way to do it in MATLAB.

Sign in to comment.


Image Analyst
Image Analyst on 22 Aug 2015
To degrade your images like this, in a loop over the file names (see the FAQ), call imread() with the PNG file name and then imwrite() with the jpg file name.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!