iseahound / ImagePut

A core library for images in AutoHotkey. Supports AutoHotkey v1 and v2.
https://www.autohotkey.com/boards/viewtopic.php?f=83&t=76633
MIT License
116 stars 24 forks source link

ImageEqual will fail if Stride is negative #2

Closed iseahound closed 4 years ago

iseahound commented 4 years ago

If the bitmap is bottom-up, ImageEqual() will fail.

iseahound commented 4 years ago

Can someone provide an image with negative stride? I haven't encountered one, and they seem to be very rare.

The solution was to clone the bitmap.