Hi,
When i run the following code:
Image image;
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 ...
Search found 1 match
- 2012-04-23T05:50:00-07:00
- Forum: Magick++
- Topic: Image::resolutionUnits() always undefined
- Replies: 0
- Views: 7068