I want to achieve the same effect as shown in Image2. I made image2 by loading Image1 into GIMP and setting the opacity to 50% and exporting a PNG from the result:
with IM I tried this (based on an answer I saw on this forum - I'm not sure exactly what the parameters mean):
Code: Select all
convert image1.png -alpha set -channel Alpha -evaluate set 50% png32:image3.png
I'm having a similar issue when I try to perform the effect in Delphi code. The routine is from a library and seems to work by filling the alpha channel in the PNG with the 50% opacity value of 128, but the resulting image suffers from the same problem. This leads me to think that the original image (constructed with GIMP) has issues maybe.
Any comments appreciated.
Version: ImageMagick 6.9.0-0 Q16 x64 2014-11-14 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates (built-in): bzlib cairo freetype jbig jng jp2 jpeg lcms lqr pangocairo png ps rsvg tiff webp xml zlib
Windows 10