[magick-users] extract hexagonal regions from images

Günter Bachelier guba at VI-ANEC.de
Sat Aug 2 04:07:09 PDT 2008


Hello,

I want to extract specific hexagonal regions with freestanding
structures from images (p3m1 tiles and patterns) like

http://www.vi-anec.de/Trance-Art/IM-examples/p3m1_extraction/extraction_type_1.jpg
http://www.vi-anec.de/Trance-Art/IM-examples/p3m1_extraction/extraction_type_2.jpg

I have tried to make this by drawing an extraction mask
(with matte=>'false') and use compose=>'CopyOpacity' 
but the image remains unchanged after the operation.
See PerlMagick code in

http://www.vi-anec.de/Trance-Art/IM-examples/p3m1_extraction/Test_p3m1_extraction.PLX

I would appreciate any help because I need such an extraction
method also for some other symmetry group tiles and patterns.
Thank you very much!


Guenter












More information about the Magick-users mailing list