<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi guys<br>
<br>
Just been to the D2010 presentation and I must say that I was impressed
by the quality of the presentation (and the product). Well done
Malcolm.<br>
<br>
We have good code already implemented to resize gif and jpg pictures
(not using StretchDraw) and are planning to wait for our D2010 purchase
and take advantage of the built in png support. <br>
<br>
Thanks to all the great suggestions for this it has been most helpful :)<br>
<br>
Rob<br>
<div class="moz-signature">
<div class="Section1"><br>
<p class="MsoNormal"><span style="color: rgb(255, 153, 0);" lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-NZ"><o:p> </o:p></span></p>
</div>
</div>
<br>
<br>
Conor Boyd wrote:
<blockquote
cite="mid:F7C0AA5DD1508F4789E10B6CC9BB75DB02CE7639@nzc-ap-xch-02.ap.trimblecorp.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.6000.16890" name="GENERATOR">
<style></style>
<div dir="ltr" align="left"><span class="376142604-13102009"><font
color="#0000ff" face="Arial" size="2">Depends what Robert wants, but
StretchDraw won't give you anything like the resampling quality of a
decent resampling algorithm such as a Lanczos Kernel. If you want to
see the difference without writing code, check out the freeware
Irfanview image utility (<a moz-do-not-send="true"
href="http://www.irfanview.com">www.irfanview.com</a>) and try
resizing an image using the various resampling algorithms available in
that utility.</font></span></div>
<div dir="ltr" align="left"><span class="376142604-13102009"></span> </div>
<div dir="ltr" align="left"><span class="376142604-13102009"><font
color="#0000ff" face="Arial" size="2">One thing that I think a lot of
people overlook is that a file format is just that: a file format.
Once one has loaded an image from a file of a particular format,
then the image in memory is simply a bitmapped image (or a raster image
or whatever). At that point, it's completely divorced from the file
format it happened to be last persisted in.</font></span></div>
<div dir="ltr" align="left"><span class="376142604-13102009"></span> </div>
<div dir="ltr" align="left"><span class="376142604-13102009"><font
color="#0000ff" face="Arial" size="2">C.</font></span></div>
<br>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us">
<hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:delphi-bounces@delphi.org.nz">delphi-bounces@delphi.org.nz</a> [<a class="moz-txt-link-freetext" href="mailto:delphi-bounces@delphi.org.nz">mailto:delphi-bounces@delphi.org.nz</a>] <b>On
Behalf Of </b>John Bird<br>
<b>Sent:</b> Tuesday, 13 October 2009 5:13 p.m.<br>
<b>To:</b> NZ Borland Developers Group - Delphi List<br>
<b>Subject:</b> Re: [DUG] Image manipulation<br>
</font><br>
</div>
<div><font color="#000000" face="Arial" size="2">I have a neat
program that can picks a JPG file, converts JPG to BMP and back and
resize it at will too.</font></div>
<div><font color="#000000" face="Arial" size="2">The trick is that
you can resize as a BMP, but save back as a JPG</font></div>
<div> </div>
<div><font color="#000000" face="Arial" size="2">Can email the rest
of the project, but here is the main unit to show its not hard to do...</font></div>
<div> </div>
<div><font color="#000000" face="Arial" size="2">This program zooms a
bevel in and out to show the size of the image will be when resized,
but does not actually resize until you click resize now, as the image
would lose quality by being continuously resized.</font></div>
<div> </div>
<div><font color="#000000" face="Arial" size="2">Its all done by
about 4 lines in the ResizeNow procedure</font></div>
<div><font color="#000000" face="Arial" size="2"><br>
<p><font face="Arial" size="2">[snip]</font> </p>
</font></div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe</pre>
</blockquote>
</body>
</html>