Author: nostradumbass77nostradumbass77
Date: Aug 8, 2008 12:22
Use the following 'smooth bitmap resize'. Gives better results than
stretchdraw.
- Hide quoted text -
- Show quoted text -
Ken White wrote:
> Korpela Asko,
>> I have digital photos size 1024x768 and would like to
>> resize pictures permanently for web use to 800x600.
>> How should I do it? On screen I can stretch pictures
>> at will, but there is no saving property to use.
> What format are the pictures in? If they're Delphi-compatible images
> (Bitmap, Jpeg, etc.) it's very easy.
> Let's presume that they're JPEGs. Add 'Jpeg' to your uses clause. (Watch
> out for wrap in the code below.)
|