I'm currently working on some BMP images to mod a game. Because of that, I'm tied to the very specific BMP format that this game accepts.
Step by step:
I take a source BMP of shall we say 800x600 pixel, I -extent it to add some borders (same color as the background). The borders are important!
Next step is to resize the image and turn the background transparent:
Code: Select all
convert source.bmp -fuzz 10% -alpha background -transparent #ec5b18 -resize 99x46 target.bmp
Code: Select all
convert source.bmp -alpha set -define bmp:format=bmp3 -define bmp3:alpha=true target.bmp
What I'm I doing wrong, and more important, how I can solve this??