PS text with aqua effect no longer transparent?
Posted: 2012-09-14T04:37:46-07:00
Hello,
Based on http://www.imagemagick.org/Usage/advanced/#aqua_effects I have created a postscript text with aqua effect, that I used to overlay onto photographs. The command to generate the transparent aqua-text was this:
That used to work great on my old ubuntu box. But now I did a dist-upgrade, and the background of the final result is no longer transparent. This looks very ugly when attached onto a photo. The version of convert on the upgraded ubuntu is 6.6.0. Unfortunately, I don't know the old (working) version of convert.
I am not very familiar with IM. But I found by try+error that the transparency seems to get lost with the last 2 lines of the big enclosed sub-command:
Any ideas what the cause of the problem might be?
Based on http://www.imagemagick.org/Usage/advanced/#aqua_effects I have created a postscript text with aqua effect, that I used to overlay onto photographs. The command to generate the transparent aqua-text was this:
Code: Select all
convert \
-channel RGBA \
-density 600 \
-gravity center \
\( text.ps -trim +repage -channel RG -level 100% \) \
-background none -fill yellow \
-filter lanczos -resize 300%x300% \
\( \
+clone -bordercolor None -border 1x1 \
-alpha Extract -blur 0x8 -shade 130x30 -alpha On \
-background gray50 -alpha background -auto-level \
-function polynomial 3.5,-5.05,2.05,0.3 \
\( +clone -alpha extract -blur 0x14 \) \
-channel RGB -compose multiply -composite \
+channel +compose -chop 1x1 \
\) \
-compose Hardlight -composite \
poster-label.png
I am not very familiar with IM. But I found by try+error that the transparency seems to get lost with the last 2 lines of the big enclosed sub-command:
Code: Select all
-channel RGB -compose multiply -composite \
+channel +compose -chop 1x1 \