Error with convert and -transparent option
Posted: 2013-01-04T07:48:18-07:00
Hi guys, I'm pretty sure this is a bug since I've been using imagemagick to convert a few hundred files with some bash scripts for the last hour or so with no problem (and utilising the same command)).
The command that I use hasn't changed from my previous working command and is basically:
convert rauch0000.bmp -transparent "rgb(128,128,128)" 1.png
(I had it in a loop but tried this upon finding the error in order to confirm I hadn't made a mistake)
now gimp tells me the background of the picture rauch0000.bmp is 128,128,128 (or #808080) so this is what I use in the command. the files I am using is available here (the "rauch" {smoke} files are the ones causing trouble):
http://www.reinerstilesets.de/2d-grafiken/2d-animated/
under geschütz (the cannon) at the bottom, direct link here:
http://www.reinerstilesets.de/zips2d/Bgesch.zip
one of the worrying things that I found is that in addition to not setting the background to transparent as required (for the smoke {rauch} files only, curiously the rest of the files in the zip work, including the other ones with a 128,128,128 RGB background) the colour of the background gets changed.
anyone know what's going wrong here?
oh yeah, almost forgot:
$ convert -version
Version: ImageMagick 6.8.0-2 2012-12-17 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenCL
The command that I use hasn't changed from my previous working command and is basically:
convert rauch0000.bmp -transparent "rgb(128,128,128)" 1.png
(I had it in a loop but tried this upon finding the error in order to confirm I hadn't made a mistake)
now gimp tells me the background of the picture rauch0000.bmp is 128,128,128 (or #808080) so this is what I use in the command. the files I am using is available here (the "rauch" {smoke} files are the ones causing trouble):
http://www.reinerstilesets.de/2d-grafiken/2d-animated/
under geschütz (the cannon) at the bottom, direct link here:
http://www.reinerstilesets.de/zips2d/Bgesch.zip
one of the worrying things that I found is that in addition to not setting the background to transparent as required (for the smoke {rauch} files only, curiously the rest of the files in the zip work, including the other ones with a 128,128,128 RGB background) the colour of the background gets changed.
anyone know what's going wrong here?
oh yeah, almost forgot:
$ convert -version
Version: ImageMagick 6.8.0-2 2012-12-17 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenCL