Research Candy
A computational notebook for my research.
Showing posts with label
PNG
.
Show all posts
Showing posts with label
PNG
.
Show all posts
Thursday, March 10, 2011
Converting and shrinking PNG files
Here's a simple command to convert and down-sample PNG files so they aren't 18 mg monsters.
mogrify -quality 20 -format jpg *.png
This will convert all PNGs in the directory to jpg and reduces the quality to 20% of the original. I can't tell the difference at all.
It uses the mogrify command from the ImageMagik toolkit.
Older Posts
Home
Subscribe to:
Posts (Atom)