You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Windows implementation uses the image crate to generate a bmp which may or may not be compressed depending on the underlying implementation of image.
Forcing compression with bmp or using a different format, like compressed png could be good alternatives. One thing to factor in is how wide-spread is the support for these formats as it wouldn't make much sense to generate both the compressed and the uncompressed format for compatibility sake (assuming that every program supports uncompressed bmp)
The text was updated successfully, but these errors were encountered:
I thought they store it in custom format, but actually it is more generic than that.
If you see CF_BITMAP/CF_DIB on clipboard ten CF_HDROP is likely to contain ram image bytes that can be pasted as file in windows (via Crtl-V)
But you probably still need image encodrer as you want to set both CF_DIB and CF_HDROP
Currently the Windows implementation uses the
image
crate to generate a bmp which may or may not be compressed depending on the underlying implementation ofimage
.Forcing compression with bmp or using a different format, like compressed png could be good alternatives. One thing to factor in is how wide-spread is the support for these formats as it wouldn't make much sense to generate both the compressed and the uncompressed format for compatibility sake (assuming that every program supports uncompressed bmp)
The text was updated successfully, but these errors were encountered: