Page 1 of 1

32Bit bmp output with composite.exe

Posted: 2012-01-30T07:21:50-07:00
by Mr_J
Hi,
i encountered a problem using the composite.exe to displace an image in command line mode.
I used the following command:

Code: Select all

composite.exe ImageDistort2.bmp bb05.bmp -displace 2x2 bb05_1.bmp
Both input images were 32Bit bitmaps, but the output was only a 24Bit bitmap instead of a 32Bit. My question is now if its possible to get a 32Bit output image and if its possible how is this archieved?

regards,
Mr. J

Re: 32Bit bmp output with composite.exe

Posted: 2012-01-30T11:41:47-07:00
by fmw42
Is your 32-bit images 8bits/channel x 4 channels (rgba) or 32-bits for a single channel grayscale. If the latter, then you need to compile IM in HDRI mode. see http://www.imagemagick.org/script/high- ... -range.php. If the former then try adding -channel rgba -alpha on after reading the images.

Re: 32Bit bmp output with composite.exe

Posted: 2012-01-31T01:37:53-07:00
by Mr_J
The images are 4x8 Bit rgba. How do i add the commands to my existing command line? I tried to use your commands also but i didnt seem to work.

regards,
Mr. J

Re: 32Bit bmp output with composite.exe

Posted: 2012-01-31T02:10:02-07:00
by Mr_J
Found the problem, now it works, thanks for the help.

regards,
Mr. J