Copy PNG from the browser displays a black background instead transparent
When you copy a transparent PNG image to the clipboard and then paste into Photoshop, Paint, etc. - Transparency becomes black. Is there any solution for this? This is a browser problem, an editing application or a problem with the operating system clipboard? I am using Windows 7 and tested with the latest versions of Chrome and Internet Explorer.
I used Photoshop to copy semi-transparent textures for some time while prototyping (with the fate of Axure RP).
Now, I've tried using the new API clipboard in HTML 5. I dissected the PNG files that are generated by this process.
If I can use the clipboard (with a rectangular frame) to copy a semi-transparent texture to the browser with the clipboard API, alpha byte FF (completely opaque) is established.
If I use the drag and drop API to copy a "Save As Web" PNG 24 file in the browser, it works as expected and work transparent pixels (alpha and bytes is not required to FF).
Note: Even the thought of Photoshop said to be 24-bit, in fact exports and 8 bits yet (confirmed).
0 comments:
Post a Comment