Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
- Posts: 1
- Joined: 2012-04-23T03:34:32-07:00
- Authentication code: 13
When i run the following code:
Code: Select all
image.read( "path_to_file" );
cout << image.resolutionUnits() << endl;
I always get 0, which is undefined. I found a workaround on the internet - use Image::constImage()::units. It gives me the right value. I don't know if it's a bug or i'm using it the wrong way.