Search found 3 matches

by andy82
Tue Apr 02, 2013 9:10 am
Forum: Classic - Bug Reports
Topic: Win32: Alpha channel clipboard format
Replies: 8
Views: 123488

Re: Win32: Alpha channel clipboard format


Strange, i've checked, and i don't export in CF_DIBV5 only CF_DIB


That's normal. Windows does automatic format conversion between several clipboard formats. So if an app requests CF_DIBV5 but there is only a CF_DIB on the clipboard, Windows will convert it automatically.

See "Synthesized ...
by andy82
Fri Mar 29, 2013 4:10 pm
Forum: Classic - Bug Reports
Topic: Win32: Alpha channel clipboard format
Replies: 8
Views: 123488

Re: Win32: Alpha channel clipboard format


You want to copy in which software?


Actually I want to copy to my own software. But transparency is also lost when pasting into Word 2010 or Paint.NET, for instance. My own software looks for a CF_DIBV5 on the clipboard and when the data comes from XnView, then the colors aren't premultiplied ...
by andy82
Fri Mar 29, 2013 11:06 am
Forum: Classic - Bug Reports
Topic: Win32: Alpha channel clipboard format
Replies: 8
Views: 123488

Win32: Alpha channel clipboard format

Hi,

when copying a PNG that contains an alpha channels to the clipboard with XnView the pixel data is not premultiplied by the alpha channel. When I copy the same PNG to the clipboard using Firefox or Chrome, however, the pixel data is premultiplied by the alpha channel data. AFAIK there is no ...