91
EZGUI 5 support forum / Re: EZ_GetImageSize
« Last post by Chris Boss on May 29, 2022, 05:58:31 pm »No such command in EZGUI.
Likely you may have used a function wrapper for other commands which you found on the forum.
Often when i write such a wrapper function I name it with the EZ_ prefix.
The command you need is:
EZ_GetBitmapInfo hBmp&, W&, H&, PixelBits&, DIBPtr&
This will require calling the EZ_ImageHandle function to get an actual Bitmap handle from an EZGUI Picture name string (ie. EZ_LoadImage returns an internal name EZGUI uses to track a bitmap).
Likely you may have used a function wrapper for other commands which you found on the forum.
Often when i write such a wrapper function I name it with the EZ_ prefix.
The command you need is:
EZ_GetBitmapInfo hBmp&, W&, H&, PixelBits&, DIBPtr&
This will require calling the EZ_ImageHandle function to get an actual Bitmap handle from an EZGUI Picture name string (ie. EZ_LoadImage returns an internal name EZGUI uses to track a bitmap).