v1.6
DPI-awareness and multi-monitor support.
- Screen capture is now DPI aware.
- Window capture can now capture windows in different DPI contexts.
- Monitor number inputs
0
,1
,2
, now capture the full screen. wallpaper
now captures all wallpapers to the right of the primary screen.- ImageShow/ImagePutWindow no longer scale their contents to in different DPI contexts.
- ImageShow/ImagePutWindow will always center the window regardless of screen DPI.
Bugfixes
- ImagePutWindow(2) never actually worked for monitor numbers greater than 1.
- Restore ImagePutWindow() alpha transparency. (Broken by v1.5)
- Fix
ImagePut("window", image)
missing default window styles. - Accepts Device Context
hdc
inputs with device independent bitmaps selected. hBitmaps
that are selected onto a device context can now be copied.
Minor Adjustments
- Cropping to zero width or height correctly returns the original image.
- Fixes incorrect window width and height created by ImageShow().
- Small windows created by ImageShow() were unable to be closed via right click.
- The filepath parameter of ImagePutFile() now accepts forward slashes.
- Cropping no longer occurs when coordinates are identical to the source image.
- Decreased minimum string lengths for auto detection of base64 and hex data.
- Hex string lengths are checked for a divisibility of 2.