Search found 4 matches

by sthustfo
2014-04-17T20:28:43-07:00
Forum: MagickWand
Topic: MagickExportImagePixels for BiLevel image
Replies: 4
Views: 15905

Re: MagickExportImagePixels for BiLevel image

@SlasherZet Thanks for the clarification. So I suppose, adding a new bilevel type to the StorageType is required support for which is not available now.
by sthustfo
2014-04-13T22:35:32-07:00
Forum: MagickWand
Topic: MagickExportImagePixels for BiLevel image
Replies: 4
Views: 15905

Re: MagickExportImagePixels for BiLevel image

If am trying to get 1 bit per 1 pixel (basically monochrome bilevel) image. And since there was no StorageType for Bilevel, I tried to use PixelChar. If i set the image type to BilevelType using MagickSetImageType() and then call MagickWriteImage(), then Bilevel image is generated. Any reason why a ...
by sthustfo
2014-04-11T02:54:23-07:00
Forum: MagickWand
Topic: MagickExportImagePixels for BiLevel image
Replies: 4
Views: 15905

MagickExportImagePixels for BiLevel image

Greeting. I have a PNG image that I have quantized to BievelType. Now I would like to get access to this raw image. so I use MagickExportImagePixels() api to get access to this raw image. However, I am not sure what should be the map and the storage type? If I use "I" for map (grayscale) and storage ...
by sthustfo
2014-04-11T02:46:00-07:00
Forum: MagickWand
Topic: Accessing index for palette with MagickExportImagePixels
Replies: 3
Views: 14195

Re: Accessing raw packed pixel data (PixelPacket) in MagickW

Does the MagickExportImagePixels() API suit your needs?