Re: Dealing with MONO12 images in memory
Bob Friesenhahn <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 21 Nov 2017, Bob Friesenhahn wrote: > > Another way to read it would then be: > > image.depth(16); > image.endian(LSBEndian); > image.read(blob,Geometry(arv_width, arv_height)); Sorry, this would be image.depth(16); image.endian(LSBEndian); image.read(blob,Geometry(arv_width, arv_height),"GRAY"); Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot