RESOLVED: possible bug tile: IM 6.9.7.3 Q16 Mac OSX
Posted: 2017-01-12T16:37:43-07:00
I seem to be having trouble keeping the transparency of an mpr: tiled image when using the tile:mpr:img. I am not sure it is a bug or a limitation of tile:. The mpr:img contains transparence, but after tiling it, it loses all transparency and I cannot seem to maintain it using -alpha on -channel rgba. Am I missing some key setting to allow it to maintain transparency? Or is my syntax not correct? Does tile: not support the alpha channel?
The following syntax works fine:
The following syntax does not work:
Here is a simpler example of the problem with tile: losing transparency.
The following syntax works fine:
Code: Select all
convert \( -size 240x240 xc:none -fill black \
-gravity NorthWest -draw "text 10,10 'Copyright'" \
-gravity SouthEast -draw "text 5,15 'Copyright'" \
-write mpr:copyright +delete \) \
-size 640x480 xc:red -fill mpr:copyright -alpha on -channel rgba -draw 'color 0,0 reset' \
test1.png
The following syntax does not work:
Code: Select all
convert \( -size 240x240 xc:none -fill black \
-gravity NorthWest -draw "text 10,10 'Copyright'" \
-gravity SouthEast -draw "text 5,15 'Copyright'" \
-write mpr:copyright +delete \) \
-size 640x480 tile:mpr:copyright -alpha on -channel rgba \
test2.png
Here is a simpler example of the problem with tile: losing transparency.
Code: Select all
convert logo: -resize 25% -transparent white logo_sm_t.png
convert -size 640x480 -alpha set -channel rgba tile:logo_sm_t.png -alpha set -channel rgba test3.png