Search found 2 matches

by antenne
2015-11-25T03:29:11-07:00
Forum: Developers
Topic: magick++: read mono8 image, save as PNG
Replies: 4
Views: 7568

Re: magick++: read mono8 image, save as PNG

Thanks for your replies! Unfortunately, I can not use the commandline, but have to use the API directly. I didn't drill through the code to see how "gray" is implemented, but I suspect it's something along the lines I finally ended up doing. In case anyone is interested: void rgb(void **dest, size_t ...
by antenne
2015-11-17T08:55:12-07:00
Forum: Developers
Topic: magick++: read mono8 image, save as PNG
Replies: 4
Views: 7568

magick++: read mono8 image, save as PNG

Hi all. I have a bunch of GigE network cameras that provide raw grayscale pixel data (aka mono8). I intend to use magick++ to convert this to PNG for human consumption. I'm almost sure that this should be near trivial, but I can't get it to work properly. My code so far: void png::convert(void *dest ...