I tried to copy a new image to the clipboard. Then, I'd like to paste it into Preview.app using "New from clipboard", but the image won't appear.
Hope somebody knows what I am talking about. Which format does the setclipboardimage()-function copy? Why doesn't that work in Preview.app?
I used this:
Code: Select all
If CreateImage(0, 26, 20)
StartDrawing(ImageOutput(0))
Box(0, 0, 26, 20, RGB(255, 255, 255))
Circle(13, 10, 5, RGB(255, 0, 0))
StopDrawing()
SetClipboardImage(0)
EndIfEdit: The format of the clipboard-image is TIFF, says Finder. Can I change this? Would be great to have .png as format for Clipboard-images

