Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDropComboTarget; Bitmaps #58

Open
Digipit opened this issue May 19, 2022 · 3 comments
Open

TDropComboTarget; Bitmaps #58

Digipit opened this issue May 19, 2022 · 3 comments

Comments

@Digipit
Copy link

Digipit commented May 19, 2022

I'm trying to drop Bitmapsfrom Outlook (Inline Images sent from iPhone) this works well with small images.
If the Image is bigger (like 4032*2268) the Bitmap is created in this size, but the left part of the Image gets stretched to then
Size of the original bitmap.

@Student1978
Copy link

I have the same/similar problem right now. Is there already a solution here?
Affects not only images from Outlook, also large images from Word.

So far I have found out the following:
The function TDIBClipboardFormat.DoGetData reads the DIB object from memory and saves/store it in the FBitmap.
But I have not yet been able to analyze where exactly the error is.
(Perhaps the FBitmap is too small for the large bitmaps)

@landrix
Copy link
Owner

landrix commented Sep 27, 2024

do you have a sample project, that demonstrate this?

@Student1978
Copy link

I was able to reproduce it with the original ComboTargetDemo.

I will send you a sample via PN

Further: If you copy the image to the clipboard beforehand, the image is then transferred correctly using drag & drop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants