Page 1 of 1

How to create a PCX 4 bits

Posted: 2011-03-30T08:37:31-07:00
by jpiquemal
Hello
I try to create a PCX 4 bits - 16 colors from a JPEG 24 bits.

convert -colors 16 test.jpg test.pcx

I always get a PCX with 16 colors, OK, but it's a 8-bits PCX. :(

Any idea ?

jean

Re: How to create a PCX 4 bits

Posted: 2011-03-30T10:27:46-07:00
by fmw42
I don't know PCX or if IM supports 4-bits, but try adding -depth 4 to your command line.

Re: How to create a PCX 4 bits

Posted: 2011-03-30T22:14:13-07:00
by jpiquemal
PCX does support 4-bits.
-depth 4 produces a 24-bits PCX :shock: