Zoom Into an Image

HMG en Español

Moderator: Rathinagiri

Post Reply
jayadevu
Posts: 240
Joined: Tue May 19, 2009 7:10 am

Zoom Into an Image

Post by jayadevu »

Hi,

is there a way to Zoom into an Image. Much like Irfan View or Windows Photos. Any example available ?

Warm regards,

Jayadev
User avatar
ndarz
Posts: 56
Joined: Thu Apr 23, 2015 12:29 pm
Location: Argentina

Re: Zoom Into an Image

Post by ndarz »

To control graphics, it is best Bos-Taurus. The help is very well detailed
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Zoom Into an Image

Post by Rathinagiri »

Yes. That is right.

You have to use particularly this function.

Code: Select all

BT_BitmapCopyAndResize (hBitmap, New_Width, New_Height, Mode_Stretch, Algorithm)

Copy and resizes the specified bitmap and returns a handle to the bitmap with the new size.

hBitmap: is a handle to the origin bitmap.

New_Width, New_Height: is the new size of the bitmap image.

Mode_Stretch: sets the mode as the bitmap of origin is adjusts (is stretches or compresses) in the new size bitmap, it is one of the constants: BT_SCALE or BT_STRETCH (defined in BosTaurus.CH). For default Mode_Stretch = BT_STRETCH.

Algorithm: sets the mode as the bitmap is resized, it is one of the constants: BT_RESIZE_COLORONCOLOR, BT_RESIZE_HALFTONE or BT_RESIZE_BILINEAR (defined in BosTaurus.CH). For default Algorithm = BT_RESIZE_HALFTONE.

East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
jayadevu
Posts: 240
Joined: Tue May 19, 2009 7:10 am

Re: Zoom Into an Image

Post by jayadevu »

Thanks ndarz and Rathinagiri.

Where is the documentation of BosTaurus ?, I am not able to find it in hmg.3.4.0

Warm regards,

Jayadev
User avatar
ndarz
Posts: 56
Joined: Thu Apr 23, 2015 12:29 pm
Location: Argentina

Re: Zoom Into an Image

Post by ndarz »

This path is the pdf file.
c:\You_Dir_hmg.3.4.0\DOC\data\HMG_UNICODE_DOC\BosTaurus-FunctionsReferenceGuide.pdf
Post Reply