- the background must be transparent and not black unlike in the example
- as seen here the square border of the image should not be visible
As you can see (from the "here" link above) I have already seen the earlier thread asking how to use the radial flare as a mask. My question is however different. I want to use the starburst image itself but with a transparent background. I tried changing the black to none in the Usage page code to get the following:
Code: Select all
convert -size 512x1 xc: +noise Random -channel G -separate +channel \
-size 512x511 xc:none -append -motion-blur 0x204-90 \
\( -size 512x256 gradient:white-none -evaluate cos .5 -negate \
-size 512x256 xc:none -append -sigmoidal-contrast 3x100% \) \
\( -size 1x256 xc:none -size 1x1 xc:grey50 -size 1x255 xc:none \
-append -blur 0x2 -scale 512x512\! \) \
-scene 10 -write flare_%x.png \
-background none -compose screen -flatten -write flare_f.png \
-virtual-pixel HorizontalTileEdge -distort Polar -1 -write flare_final_white.png \
-fill SkyBlue -tint 100% flare_final_blue.png
I also tried Fred's script as follows:
Code: Select all
./starburst.sh -s 512x512 -b none -f SkyBlue foo.png
And while I'm at it, a huge thanks to Anthony for his examples!