Outline image, use colors from surroundings.
Posted: 2017-05-21T13:51:55-07:00
So, I have a transparent image, and I want to outline it with it's own colors. I want the color of each pixel to be determined by the pixels next to it, with semi-transparent pixels having less effect than fully opaque pixels, and fully transparent pixels having no effect at all. Unfortunately, I can't find any image as an example for the effect.
ImageMagick Version:
Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-03-14 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
OS: Ubuntu 16.04
ImageMagick Version:
Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-03-14 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
OS: Ubuntu 16.04