Fix #118351: Pixel Shift with Win32 Clipboard DibV5 Image Transfer #118417

Merged
Harley Acheson merged 1 commits from Harley/blender:DibV5Error into blender-v4.1-release 2024-02-17 20:29:52 +01:00

1 Commits

Author SHA1 Message Date
Harley Acheson 322abf8db5 Fix #118351: Pixel Shift with Win32 Clipboard DibV5 Image Transfer
My misreading of the Microsoft BITMAPV5HEADER specification causes a
shift of three pixels when transferring between applications using this
format. This does not occur when moving within or between Blender
instances. This PR just removes the incorrect 12-byte offset. Note
that many applications prefer PNG transfers over DibV5 so testing this
might be non-obvious.
2024-02-17 11:24:45 -08:00