Hi,
% SOT
\starttext
Happy face: \framed[frame=on]{\externalfigure[happy.png]}
Happy face: \framed[frame=on]{\externalfigure[happy2.png]}
\stoptext
% EOT
Run: magick happy.png -alpha extract -alpha shape -background "#00ccff"
happy2.png
Expected: Two happy faces appear.
Actual: Top happy face appears, bottom happy face shows a white background.
One workaround is to specify png:color-type 6:
magick \
happy.png \
-alpha extract \
-background "#${COLOUR_AC}" \
-alpha shape \
-define png:color-type=6 \
happy2.png
$ magick --version
Version: ImageMagick 7.1.2-7 Q16-HDRI x86_64 e3e6b54ad:20251014
https://imagemagick.org
$ context --version
mtx-context | current version: 2025.09.25 18:46
Original happy face is also at: https://i.imgur.com/NLEeIkI.png
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________