Resizing and Colour change
Posted: 2017-05-09T07:21:52-07:00
I am having trouble with resizing and changing the colour of my image.
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:
-fill and -opaque are not giving me my desired result.
I am using Windows 7 and ImageMagick-7.0.5-Q16
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