Detect Image size and resize

Post Reply
elvira
Posts: 516
Joined: Fri Jun 29, 2012 12:49 pm

Detect Image size and resize

Post by elvira »

Hi,

How can I detect the Image size and resize it?

Thank you!!
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Detect Image size and resize

Post by Jimmy »

hi,

use :ReadImage() to get Bitmap Information in Array. Size are 3rd and 4th Element
use HB_FUNC( RESIZEBMP ) in \fwh\source\winapi\bmpdraw.c for new Size
greeting,
Jimmy
Post Reply