Indexed bmps for TV Graphics

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
backinengland
Posts: 1
Joined: 2015-10-05T04:43:42-07:00
Authentication code: 1151

Indexed bmps for TV Graphics

Post by backinengland »

Hello,

I'm a designer needing to find an alternative to the DeBabelizer for creating 8-bit indexed bmp images for digital TV. It would be easier if not for the fact there are some specific requirements around use of colour palettes.

Although I've read a lot of the ImageMagick documentation, I have limited technical expertise and still unsure if ImageMagick can, definitively, generate 8-bit bmp graphics, which:

– allow for transparency (fairly sure this is fine),
– can exclude 16 colours as part of the palette (this part I am less sure of even having read about -remap and quantization).

Any help would be greatly appreciate. Apologies if this is a very basic question. I have searched through the forum.

Thanks,
Andy 
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Indexed bmps for TV Graphics

Post by snibgo »

IM can create images that use only colours from a specified "palette". See http://www.imagemagick.org/script/comma ... .php#remap .

Code: Select all

convert in.png -remap pal.png out.bmp
Given any input in.png, out.bmp will contain only colours that were in pal.png. pal.png could be an image 1x240 pixels or whatever you want, with just the colours you want.
snibgo's IM pages: im.snibgo.com
Post Reply