Snapshot question

Neville Smythe neville.smythe at optusnet.com.au
Thu May 30 21:21:33 EDT 2024


I have a need for rotated graphic objects, in particular a roundrect graphic.

Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame. Which means the image can really only be used against a black background. 

Ideally the background outside the rounded frame should be transparent, although I suspect that may not be possible with the bitmap image format produced. Is there any setting that can fix this (a mask?), or failing that set the colour of these pixels (I presume the snapshot is actually produced by rendering the object in a hidden buffer with default black background) .

The alternative solution of producing a screenshot against a background of the required colour is not practical; it requires displaying the object against an empty visible region of the screen before taking the screenshot and therefore an unacceptable flash for the user.

Neville Smythe






More information about the use-livecode mailing list