Search found 3 matches
- 2009-09-28T12:31:20-07:00
- Forum: Users
- Topic: c++ equivalent to splice gravity?
- Replies: 1
- Views: 3958
c++ equivalent to splice gravity?
I am trying to trim single edges one by one (for counting the number of pixels removed from each side), using Magick++. I can make this work using the command line: convert oldimage.PNG -gravity West -background white -splice 5x0 -background black -splice 5x0 newImage.PNG Like described here http ...
- 2009-09-18T17:03:20-07:00
- Forum: Users
- Topic: glyph bounding boxes
- Replies: 3
- Views: 7327
Re: glyph bounding boxes
Thank you for your reply. I think the QueryFont() call you are referring to in the C++ code is Image::fontTypeMetrics(..). When I call this, the information returned is not quite what I need. Image myimage("100x50", "black"); myimage.magick("PNG"); myimage.antiAlias(false); myimage.matteColor ...
- 2009-09-17T16:18:42-07:00
- Forum: Users
- Topic: glyph bounding boxes
- Replies: 3
- Views: 7327
glyph bounding boxes
I am a new user of ImageMagick++. I am attempting to create test images for optical character recognition analysis. For each glyph, I want to determine the bounding box coordinates of that glyph as it is added to the image. Some glyphs may be rotated slightly, and they will not necessary be aligned ...