I have a jpeg and want to change it to the following requirements:
• The image must be a 100x100 PNG
• The background must be transparent (not white or light gray)
• The only color should be #333333
• There should be no white or any other colors in the picture, only transparent and the main color with various levels of alpha
• There should be as little padding as possible
At the moment this is as far as I have gotten:
Code: Select all
"convert.exe" rose.jpeg -gravity center -extent 100x100! -transparent white -fuzz 99.9%% -set filename:f %%t %%[filename:f].png
I am using Windows 7 and ImageMagick-7.0.5-Q16