in reply to Re: Thining lines in raster images
in thread Thining lines in raster images
use Graphics::Magick; $image = Graphics::Magick->new; $image->Set(size=>'10x10'); $image->ReadImage('xc:white'); $image->Draw(stroke=>'red', primitive=>'rectangle', points=>'3,3 7,7') +; $image->ColorFloodfill(geometry=>geometry, x=>4, y =>4 , fill=>'blue', + bordercolor=>'red'); #$image->Set('pixel[1,3]'=>'green'); $image->Write('block_normal.png');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Thining lines in raster images
by BrowserUk (Patriarch) on Mar 11, 2016 at 01:56 UTC | |
by merrymonk (Hermit) on Mar 11, 2016 at 08:27 UTC | |
by BrowserUk (Patriarch) on Mar 11, 2016 at 11:55 UTC | |
by merrymonk (Hermit) on Mar 11, 2016 at 16:23 UTC | |
by BrowserUk (Patriarch) on Mar 11, 2016 at 17:29 UTC |