Dear all,
Is there any way to avoid image distortion when STRETCHed or resized?
Image distortion
Moderator: Rathinagiri
- srvet_claudio
- Posts: 2125
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Has thanked: 55 times
- Been thanked: 247 times
- Contact:
Hi,
See doc:
BT_BitmapCopyAndResize (hBitmap, New_Width, New_Height, Mode_Stretch, Algorithm)
with:
Mode_Stretch = BT_SCALE
See doc:
BT_BitmapCopyAndResize (hBitmap, New_Width, New_Height, Mode_Stretch, Algorithm)
with:
Mode_Stretch = BT_SCALE
- AUGE_OHR
- Posts: 1215
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
- Has thanked: 225 times
- Been thanked: 329 times
hi,
when reduce Bitmap e.g. for Thumbs use BT_RESIZE_HALFTONE
Windows can good Scale-Up Bitmap but bad when Scale-down
when reduce Bitmap e.g. for Thumbs use BT_RESIZE_HALFTONE
Code: Select all
BT_BitmapCopyAndResize (hBitmap, New_Width, New_Height, Mode_Stretch, BT_RESIZE_HALFTONE )
have fun
Jimmy
Jimmy