montage 32-bit png but get 24-bit output

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
kissson
Posts: 14
Joined: 2012-05-15T02:15:32-07:00
Authentication code: 13

montage 32-bit png but get 24-bit output

Post by kissson »

any parameter to get 32-bit output, i use -quality 100, but the output is 24-bit and little bit blur(affects some small font, make it hard to read),
I want to avoid the processing of the image, and just direct stream copy, as what it is original as possible
my command,
montage.exe A[1-17].png B[1-17].png ---UNTIL--- Q[1-17].png -tile 17 -geometry -10-10 -quality 100 out.png

single process of one single 32-bit png although the output is 24-bit, but it doesn't get blur, weird and puzzled
montage.exe K17.png -tile 1 -geometry -10-10 -quality 100 K17_out-t1-q100-g-10-10.png

thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: montage 32-bit png but get 24-bit output

Post by fmw42 »

I am not sure if montage supports transparency. I have not checked that. But if it does, then try making your output PNG32:resultimage.png
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: montage 32-bit png but get 24-bit output

Post by glennrp »

Unless the image has some transparent pixels, 32-bit and 24-bit (8 bits per component) will look exactly the same. The value of -quality doesn't affect the choice of 24-bit or 32-bit output format, nor does it affect the appearance of PNG images. It only affects the amount of compression.
kissson
Posts: 14
Joined: 2012-05-15T02:15:32-07:00
Authentication code: 13

Re: montage 32-bit png but get 24-bit output

Post by kissson »

i chop the 10pix border first and not use the -geometry -10-10 in montage,
the blur now gone for my 17x24 each 1400x700pix montaged output
Post Reply