Thread: VirtualDub2
View Single Post
Old 15th May 2017, 10:21   #266  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
Quote:
Originally Posted by raffriff42 View Post
I know, but it's probably easy to downconvert. But, now that you mention it, maybe silent downconversion should not be done. OK, how about either (a) disabling the copy function when it can't succeed and changing (grayed-out) menu text to "(cannot copy this format)" or (b) a popup message when copying fails.

Copying any non-standard format to the clipboard is probably complicated. IIRC you have to render multiple versions of your data so each client application gets the best version it can accept (see: Photoshop etc). I can understand if shekh gives a very low priority to something like that.
"Copy to clipboard" is supposed to always convert to rgb24.
Afaik no other clipboard picture format is widely supported; I tried to support alpha channel and gave up.

Why it does not work with some formats should be fixed, for some (historical?) reasons VD implemented 2 picture conversion routines: one is normal and the other (used for clipboard copy) covers only subset of formats.
__________________
VirtualDub2
shekh is offline   Reply With Quote