How can i convert my image into JPG from PNG?
20 views (last 30 days)
Show older comments
i have a PNG image in my phone and i want to convert it into JPG.
0 Comments
Answers (2)
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
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.
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.
0 Comments
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!