A better way to do this ?
Posted: 2014-05-24T08:30:05-07:00
Afternoon,
I'm doing my best to fumble around the wiki and so forth to get ImageMagick to do a job for me. In a round about way I'm getting there, but whilst I'm fumbling around, I'd prefer if an expert user read what I'm trying to do - and more or less says "you can do this in one line" or something.
I have a load of images relating to an old game. To cut down on some of the unnecessary things for the game to do, I want to overlay one graphic anim over the other, to produce one anim. Sometimes shadows and a character, or magic anim and an object.
(each anim is a collection of BMPs)
The images are varying sizes, but of the format - Width x Height x 8 bit depth, BMP. Black is the surrounding color of each of these frames, the game counts this as transparent.
So, I'd want to take, BMPfile0(8bit), put BMPfile1(8bit) over the top of it minus the BMPfile1's background cos obvious it'll have a black rectangle with it otherwise. Position BMPfile1 at the foot (south ??). Keeping the bit depth to 8, and the resulting dimensions as the maximum of both.
I've managed thus far to remove the background from BMPfile1, and made a png (following a line in this forum), and I can put that over the BMPfile0 sort of successfully, and IM makes a 24bit bmp as a result. Which then adds another step that I need to reduce it to 8bit or the game will not like it.
Any chance of a 1 line command line for the above ?
Much appreciated (whilst I try other stuff).
Oh, preferably on Windows7 version 6.8.8-8 Q16 x64. (though if necessary I can use any platform)
I'm doing my best to fumble around the wiki and so forth to get ImageMagick to do a job for me. In a round about way I'm getting there, but whilst I'm fumbling around, I'd prefer if an expert user read what I'm trying to do - and more or less says "you can do this in one line" or something.
I have a load of images relating to an old game. To cut down on some of the unnecessary things for the game to do, I want to overlay one graphic anim over the other, to produce one anim. Sometimes shadows and a character, or magic anim and an object.
(each anim is a collection of BMPs)
The images are varying sizes, but of the format - Width x Height x 8 bit depth, BMP. Black is the surrounding color of each of these frames, the game counts this as transparent.
So, I'd want to take, BMPfile0(8bit), put BMPfile1(8bit) over the top of it minus the BMPfile1's background cos obvious it'll have a black rectangle with it otherwise. Position BMPfile1 at the foot (south ??). Keeping the bit depth to 8, and the resulting dimensions as the maximum of both.
I've managed thus far to remove the background from BMPfile1, and made a png (following a line in this forum), and I can put that over the BMPfile0 sort of successfully, and IM makes a 24bit bmp as a result. Which then adds another step that I need to reduce it to 8bit or the game will not like it.
Any chance of a 1 line command line for the above ?
Much appreciated (whilst I try other stuff).
Oh, preferably on Windows7 version 6.8.8-8 Q16 x64. (though if necessary I can use any platform)