creating DIBs with particular bit depths

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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Use -type palette to generate a 8-bit DIB. Currently ImageMagick does not support writing 16-bit DIB images.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Adding support for 16-bit DIB would take place in coders/dib.c as you probably know. Post your patches here and mention you are releasing them under the ImageMagick license and one of the developers will get them into the distribution.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Feel free to combine these coders if it makes sense to do so (i.e. BMP & DIB).
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Thanks for the patches, we'll get them into the main ImageMagick distribution.
Post Reply