[C/C++] Image to Matrix

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
User avatar
magick
Site Admin
Posts: 10841
Joined: 2003-05-31T11:32:55-07:00

Post by magick » 2006-10-24T10:01:39-07:00

Use writePixels() with the RGBQuantum type to write the image pixels to a buffer. Make sure the image depth is 8 before you call writePixels().

Post Reply