Search found 4 matches
- 2014-03-26T10:20:46-07:00
- Forum: Bugs
- Topic: Sample from introduction to magick++ fails
- Replies: 2
- Views: 3759
Re: Sample from introduction to magick++ fails
Thanks. Works a charm.
- 2014-03-26T10:16:39-07:00
- Forum: Users
- Topic: How to extract a polygon from an image
- Replies: 3
- Views: 3444
Re: How to extract a polygon from an image
Your solution is almost exactly what I want. However, the non-included regions are transparent, and I want them to be white. Is there a simple fix?
- 2014-03-26T09:54:43-07:00
- Forum: Bugs
- Topic: Sample from introduction to magick++ fails
- Replies: 2
- Views: 3759
Sample from introduction to magick++ fails
I have just started to try and use Magick++ and tried the example from the introduction under the section " Extracting a region from within an image" The code I tried is: #include <Magick++.h> using namespace Magick; main(int argc, char**argv) { InitializeMagick(*argv); Image source_image("foo.png ...
- 2014-03-26T09:44:35-07:00
- Forum: Users
- Topic: How to extract a polygon from an image
- Replies: 3
- Views: 3444
How to extract a polygon from an image
I would like to use Magick++ or the imagemagick command line to extract an n-gon from an image. The n-gon is specified by a list the vertices. So, for example I would like to be able to extract an n-gon defined by the points a,b,c,d,e,f,g,h which define a region that looks like: a---------h | | | g ...