[DUG] Resizing images

Conor Boyd Conor.Boyd at trimble.co.nz
Tue Jan 19 11:08:27 NZDT 2010


Hi Kyley,
 
Thanks, although I was asking John for an example of his concern. ;-)
 
I've used Graphics32 previously to resize images with Lanczos Kernel
resampling etc myself (see the screenshots on http://gloss.ildica.com/
to see what I use it for), so I know how to resize images properly while
maintaining quality.
 
I just wanted to see an example of what was bothering John because
personally I don't have any problems resizing images either in code or
using tools such as Irfanview (I'm a photographer as well, so I know a
fair bit about image sharpening etc too).
 
C.

________________________________

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Kyley Harris
Sent: Tuesday, 19 January 2010 10:54 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Resizing images


Sure.. gimme 5 minutes 
i can email you the source too.. its open


On Tue, Jan 19, 2010 at 10:31 AM, Conor Boyd <Conor.Boyd at trimble.co.nz>
wrote:


	Can you post your example?  Or another example?
	 
	C.

________________________________

	From: delphi-bounces at delphi.org.nz
[mailto:delphi-bounces at delphi.org.nz] On Behalf Of John Bird
	Sent: Tuesday, 19 January 2010 9:46 a.m.
	To: NZ Borland Developers Group - Delphi List
	Subject: [DUG] Resizing images
	
	
	Resizing images for Images, bitButtons and icons - I guess we
all do this.
	 
	I have used IrfanView and Photofiltre for resizing images, and
noticed they tend to alter the edge pixels around an image - I guess it
averages the pixel colours on a sharp edge if resizing smaller. This is
a problem with images with a background surround - these pixels are not
the transparent background colour any more and create a ragged edge
noticeable when the image is on a darker background.
	 
	How do others resize images properly?
	 
	 
	 
	(Example is the Analogue clock with the image background some
are using- over a dark background you may see there are a fewer light
pixels around the edge that shouldn't be there)
	 
	 
	John

	_______________________________________________
	NZ Borland Developers Group - Delphi mailing list
	Post: delphi at delphi.org.nz
	Admin: http://delphi.org.nz/mailman/listinfo/delphi
	Unsubscribe: send an email to delphi-request at delphi.org.nz with
Subject: unsubscribe
	




-- 
Kyley Harris
Harris Software
+64-21-671-821

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100119/e29ddb74/attachment.html 


More information about the Delphi mailing list