Balsamiq Community Discussion

Paste transparent PNG with proper alpha


It was allready reported as it is long term bug, but still not solved - when you open any alpha png, e.g. in the browser and then copy it and paste it to Balsamiq, the alpha channel is converted to black. If you first save it and then add it as Image, or if you add Image and paste the URL as file name, the image is normaly transparent.
This problem has many other programs on windows, but not all of them, it is a problem of the clipboard, but there is definitely some solution (e.g. look here


Yeah, I’m sorry about that Tomas. We are still working on that one.

You’re on Windows 7, if I remember correctly? Let me know if you are on a different Windows/Mac version. We have been looking for reproducible steps for other OSes.


this bug is an all Windows versions afaik, definitely with version 7 and Windows 10 (even the latest beta), all 64 bit, not sure with 32bit - they do store image data as bitmap without alpha
The solution is afaik this - clipboard contains for such image 4 type of data: HTML format, Bitmap, Bitmap DIB and Bitmap DIBV5.

You have 2 options - use Bitmap DIBV5 (maybe this!topic/microsoft.public.dotnet.framework.drawing/0sSPCrzf8yE will help, althought i do not know how it works with Adobe Air - here is some info

Second option is afaik to look into HTML format, where you will read something like:
[!–StartFragment–][img src=“”/][!–EndFragment–]
(i have replaced < with [ as this editor seems to broke it otherwise)

So that second option is look for the HTML_FORMAT and read the img src and if exists load it instead of using the BITMAP_FORMAT


Oh weird, let me run some tests, and then I will poke the devs on Monday to see what’s going on.