Project: SWT
Bug 256159 Certain Images copied from Lotus Notes and pasted using SWT's Clipboard are corrupted
Reported: 2008-11-21 14:04:32 | Status: resolved fixed

Build ID: I20080617-2000 Steps To Reproduce: I can only reproduce this with a few images that were emailed to me in Lotus Notes. I do not know their format. If I upload the image, this bug is not reproducible, therefore, to reproduce, I'll need to forward an email to a developer who is using Notes. Then copy the image in the email, and paste using the SWT Clipboard example. You'll see that the image is corrupted (it's almost as if its an offset problem - the width seems shifted). I have pasted this image into other programs, including Lotus Notes, Word, and some freeware image utilities, and they are not corrupted when I paste there. More information:

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/ImageTransfer.java