List,
I would like to draw a polygon on top of an image...but, instead of filling the polygon with a color...I would like to have the area "hatched" or a series of parallel dashed lines.
The second, third, and fourth images found here: http://www.spc.noaa.gov/products/outloo ... _1300.html
explain what I am trying to do.
I can draw the color filled polygons...but how would I go about doing "hatched" areas using a command-line tool such as convert in ImageMagick?
Thanks,
Matthew
Hashed Polygons
-
- Posts: 2
- Joined: 2012-04-19T09:39:29-07:00
- Authentication code: 13
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Hashed Polygons
Replace 'fill' with a 'tile' When a tile image is active it will override the fill.
Typically 'fill' itself can take an image, as long as it does not have the same name as a valid color.
Actually I am very surprised I don't mention this on the "Drawing on Images" section of IM Examples!
Typically 'fill' itself can take an image, as long as it does not have the same name as a valid color.
Actually I am very surprised I don't mention this on the "Drawing on Images" section of IM Examples!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/