How do I get the pixels info from an image?

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
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

At the top of your MVG image file add

Code: Select all

viewbox 0 0 290 363
This is shown in IM Examples on reading MVG image files (third example)
http://www.cit.gu.edu.au/~anthony/graph ... /#mvg_file
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

Your "const char * const primitives" entries are MVG strings!
It does not matter if you are giving them to IM in an API or from the command line they still do the same thing!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply