I tried using Bitmpa.Canvas.StretchDraw to resize an image,
but the quality is clearly missing. What would be the next thing
to try?
Thanks!
Atmapuri
Take a look at Graphics32. That was the best, free way we found to resize
images with nice resampling options.
> I tried using Bitmpa.Canvas.StretchDraw to resize an image,
> but the quality is clearly missing. What would be the next thing
> to try?
If you're concerned with printing them, take a look at
http://www.code4sale.com/joehecht/prndib.htm
I used it in a project, and it was definitely much better than
StretchDraw.
However, it won't fix the underlying problem. Bitmaps (and JPG and GIF,
etc) are raster images - essentially just collections of dots. They
simply don't resize well. Especially to larger sizes, where individual
pixels start to get blocky.
In a large project I did, I ended up scrapping the use of bitmaps and
going with metafiles - which are vector based - instead. Obviously not
a good approach for photographic images, but excellent for things like
forms and clip art.
Try some of the links here:
http://homepages.borland.com/efg2lab/Library/Delphi/Graphics/ImageProcessing.htm#Resampling
Cheers,
David
"Atmapuri" <janez.m...@usa.net> wrote in message
news:487e...@newsgroups.borland.com...
> Hi!
>
> I tried using Bitmpa.Canvas.StretchDraw to resize an image,
> but the quality is clearly missing. What would be the next thing
> to try?
>
If you don't mind spending a few dollars, I can highly recommend
ImageEn from HiComponents. Excellent component set.
--
TJSDialog - TaskDialog for other operating systems:
http://www.jed-software.com/jsd.htm
Visual Forms IDE Add In: http://www.jed-software.com/vf.htm