FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Detect Image size and resize
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Detect Image size and resize
Posted: Sun Nov 20, 2022 10:42 AM

Hi,

How can I detect the Image size and resize it?

Thank you!!

Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Detect Image size and resize
Posted: Mon Nov 21, 2022 11:24 AM

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

Continue the discussion