My question is regarding creating a ‘fake’ transparent background with floodfill. I’ve managed to find an ImageMagick example but couldn’t figure out yet how to use Imagick to do the same.
Here:
http://www.imagemagick.org/Usage/channels/
”
convert cyclops.png -bordercolor white -border 1×1 -matte \
-fill none -fuzz 20% -draw ‘matte 0,0 floodfill’ \
-shave 1×1 cyclops_flood_3.png
”
Thanks
Background floodfill with Imagick
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Background floodfill with Imagick
Are you wanting to convert a existing background to transparent, or make the background some color to match say a web page?
The former is where you go the example.
The later is in Common formats, GIF.
The former is where you go the example.
The later is in Common formats, GIF.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Background floodfill with Imagick
Please mind that my question is about Imagick, the PHP extension encapsulating ImageMagick.
As I'm creating JPG thumbnails, transparency is not an option and so I'd need a background fill.
Thanks
As I'm creating JPG thumbnails, transparency is not an option and so I'd need a background fill.
Thanks
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Background floodfill with Imagick
You should really be posting this to the IMagick forum at viewforum.php?f=18 as most users of this forum are not using IMagick.