Research Candy
A computational notebook for my research.
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.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment