Announcement

Collapse
No announcement yet.

v.4.30: images with negative biHeight pasted upside-down (Windows)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Reported v.4.30: images with negative biHeight pasted upside-down (Windows)

    Hi! I'm developing a product, that can copy images into Windows clipboard. I've tested it with Paint, and everything worked fine. However, pasting into older version of IV resulted in "Can't paste from clipboard!" message. I've updated to 4.30, and pasting seems to work, but images are pasted upside-down. The reason: images were pasted as CF_DIB with biHeight field of BITMAPINFOHEADER structure being negative (and rows going from top to bottom). This is totally legal feature, and Paint supports it nicely. In the next version of our product I'll make a fix, so that this field will always be positive (I've already checked - this fixes issue with IV). But I think it will be nice if IV itself could handle such case properly. Unfortunately, I can't tell right now which program you could use to test this bug fix, but the change is trivial. Thanks!
Working...
X