Have you tried the office picture manager. I just took a screen capture of that link and saved it as a png and then resized that png in Office picture manager(comes with Office) and it looks fine. Could you provide a link to the image without the background?
Steve Ayers Analyst Programmer Please consider the environment before printing this email -----Original Message----- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of delphi-requ...@delphi.org.nz Sent: Tuesday, 19 January 2010 12:25 PM To: delphi@delphi.org.nz Subject: Delphi Digest, Vol 75, Issue 32 Send Delphi mailing list submissions to delphi@delphi.org.nz To subscribe or unsubscribe via the World Wide Web, visit http://listserver.123.net.nz/mailman/listinfo/delphi or, via email, send a message with subject or body 'help' to delphi-requ...@delphi.org.nz You can reach the person managing the list at delphi-ow...@delphi.org.nz When replying, please edit your Subject line so it is more specific than "Re: Contents of Delphi digest..." Today's Topics: 1. Re: Resizing images (John Bird) 2. Re: Resizing images (Kyley Harris) 3. Re: Offtopic - but.... (John Bird) 4. Re: Resizing images (Conor Boyd) ---------------------------------------------------------------------- Message: 1 Date: Tue, 19 Jan 2010 12:13:29 +1300 From: "John Bird" <johnkb...@paradise.net.nz> Subject: Re: [DUG] Resizing images To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz> Message-ID: <6712950cc08d41dea38e463530085...@johnsony2> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Here is an example.....shows the original larger image and the resized one. You can see the ragged border when the image is on a darker background, as the offending pixels are not the same as the transparent colour of the rest of the square image out to the edges - they have been altered in colour by the resizing. Hope I am making sense. The original image was a png, and it has been resized then converted to BMP using Irfanview. As far as I recall I didn't use the Lanczos option, just the defaults. http://sites.google.com/site/jbclnz2/delphistuff/delphimiscissues John ----- Original Message ----- From: "Conor Boyd" <conor.b...@trimble.co.nz> To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz> Sent: Tuesday, January 19, 2010 11:31 AM Subject: Re: [DUG] Resizing images > What I think you're seeing (without seeing your example) is the softness > introduced by most resampling algorithms (when used for downsampling). > > Something like Bicubic Sharper in PS or Lanczos Kernel in Irfanview > might help. > > However, most of these sharpening algorithms probably work better on > photographic images than they will on graphics. Maybe a more "dumb" > program like Paint would resample a graphic better. Or reducing the > color depth of the image before resizing will also help. > > Post an example, and I'll see what I would do with it. > > C. > > -----Original Message----- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On Behalf Of John Bird > Sent: Tuesday, 19 January 2010 11:15 a.m. > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Resizing images > > More specifically - does the GIMP or any other resizing method allow me > to specify this?: > > Where say an image with a a white background (the transparent colour) > meets a grey border, and the image is resized (especially if resized > smaller), there will be on this edge a new pixel that has part of the > grey border and > the white background. Most resizing operations will change the pixel > to > light grey/cream whereas I want to tell it to either use the original > grey or the white background only for any pixels on the edge. > > John > >> The GiMP is always handy for image manipulation. Generally I draw my >> images in a really old version of Corel Draw, then use GiMP for >> transparance, shadows and so on. >> > > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe ------------------------------ Message: 2 Date: Tue, 19 Jan 2010 12:17:08 +1300 From: Kyley Harris <ky...@harrissoftware.com> Subject: Re: [DUG] Resizing images To: NZ Borland Developers Group - Delphi List <delphi@delphi.org.nz> Message-ID: <6f7834061001181517l7a8e22e5j69b5a9ae683d0...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" I think the real problem here is that your original image was probably made using Layers in Photoshop etc, and saved as PNG. to get the same quality you need the Layered source so that antialiasing is done properly when shrunk and then saved again. There is no realy way to correct this issue when shrinking the end result. On Tue, Jan 19, 2010 at 12:13 PM, John Bird <johnkb...@paradise.net.nz>wrote: > Here is an example.....shows the original larger image and the resized one. > You can see the ragged border when the image is on a darker background, as > the offending pixels are not the same as the transparent colour of the rest > of the square image out to the edges - they have been altered in colour by > the resizing. Hope I am making sense. > > The original image was a png, and it has been resized then converted to BMP > using Irfanview. As far as I recall I didn't use the Lanczos option, just > the defaults. > > http://sites.google.com/site/jbclnz2/delphistuff/delphimiscissues > > John > > ----- Original Message ----- > From: "Conor Boyd" <conor.b...@trimble.co.nz> > To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz> > Sent: Tuesday, January 19, 2010 11:31 AM > Subject: Re: [DUG] Resizing images > > > > What I think you're seeing (without seeing your example) is the softness > > introduced by most resampling algorithms (when used for downsampling). > > > > Something like Bicubic Sharper in PS or Lanczos Kernel in Irfanview > > might help. > > > > However, most of these sharpening algorithms probably work better on > > photographic images than they will on graphics. Maybe a more "dumb" > > program like Paint would resample a graphic better. Or reducing the > > color depth of the image before resizing will also help. > > > > Post an example, and I'll see what I would do with it. > > > > C. > > > > -----Original Message----- > > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > > On Behalf Of John Bird > > Sent: Tuesday, 19 January 2010 11:15 a.m. > > To: NZ Borland Developers Group - Delphi List > > Subject: Re: [DUG] Resizing images > > > > More specifically - does the GIMP or any other resizing method allow me > > to specify this?: > > > > Where say an image with a a white background (the transparent colour) > > meets a grey border, and the image is resized (especially if resized > > smaller), there will be on this edge a new pixel that has part of the > > grey border and > > the white background. Most resizing operations will change the pixel > > to > > light grey/cream whereas I want to tell it to either use the original > > grey or the white background only for any pixels on the edge. > > > > John > > > >> The GiMP is always handy for image manipulation. Generally I draw my > >> images in a really old version of Corel Draw, then use GiMP for > >> transparance, shadows and so on. > >> > > > > > > _______________________________________________ > > NZ Borland Developers Group - Delphi mailing list > > Post: delphi@delphi.org.nz > > Admin: http://delphi.org.nz/mailman/listinfo/delphi > > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > > unsubscribe > > > > _______________________________________________ > > NZ Borland Developers Group - Delphi mailing list > > Post: delphi@delphi.org.nz > > Admin: http://delphi.org.nz/mailman/listinfo/delphi > > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > > unsubscribe > > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@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/cfd0c cdb/attachment-0001.html ------------------------------ Message: 3 Date: Tue, 19 Jan 2010 12:23:57 +1300 From: "John Bird" <johnkb...@paradise.net.nz> Subject: Re: [DUG] Offtopic - but.... To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz> Message-ID: <004028015aac4a3ca27ee2e49e6ee...@johnsony2> Content-Type: text/plain; charset="iso-8859-1" Firefox does use more ram over time - restart it and you will find the memory use dives. Its not all Firefox's fault - some is memory leaks, but most is from Flash and other plugins, so other browsers will do the same. Hint later versions are usually better at using less memory! So check your version Each version gets tighter on memory usage, for instance I have had 67 tabs open for about a day and Firefox is using 380MB memory. I am running the 3.7 nightly alpha build too (ie the latest bleeding edge) - I have been following issues like this on the Firefox development newsgroup. Chrome also can have similar issues, largely as it uses separate processes for each tab and this increases memory usage too. John I know thi sis offtopic, but does anyone know WHY FireFox consumse SO MUCH RAM ?? I have 8 tabs open and its usign over 400MB !! Its complete madness ! I have started going off Firefox lately. On ym Vista 64bit install at home, I cant do an F5 to refresh, I have to do a CTRL+F5 ..... grrr Jeremy ------------------------------------------------------------------------ ------ _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100119/2e7fe d9d/attachment-0001.html ------------------------------ Message: 4 Date: Tue, 19 Jan 2010 12:31:09 +1300 From: "Conor Boyd" <conor.b...@trimble.co.nz> Subject: Re: [DUG] Resizing images To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz> Message-ID: <f7c0aa5dd1508f4789e10b6cc9bb75db03010...@nzc-ap-xch-02.ap.trimblecorp.n et> Content-Type: text/plain; charset="us-ascii" What I have just tried is this: Open your double image in Irfanview. Crop it to the left hand image. Open the Resize/Resample dialog. Choose to resize it in half. Choose to "Apply Sharpen after resample". Choose to Resample using Lanczos Kernel. Voila, it looks pretty good to me. The main point here is probably resampling, not resizing. C. -----Original Message----- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Tuesday, 19 January 2010 12:13 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Resizing images Here is an example.....shows the original larger image and the resized one. You can see the ragged border when the image is on a darker background, as the offending pixels are not the same as the transparent colour of the rest of the square image out to the edges - they have been altered in colour by the resizing. Hope I am making sense. The original image was a png, and it has been resized then converted to BMP using Irfanview. As far as I recall I didn't use the Lanczos option, just the defaults. http://sites.google.com/site/jbclnz2/delphistuff/delphimiscissues John ----- Original Message ----- From: "Conor Boyd" <conor.b...@trimble.co.nz> To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz> Sent: Tuesday, January 19, 2010 11:31 AM Subject: Re: [DUG] Resizing images > What I think you're seeing (without seeing your example) is the softness > introduced by most resampling algorithms (when used for downsampling). > > Something like Bicubic Sharper in PS or Lanczos Kernel in Irfanview > might help. > > However, most of these sharpening algorithms probably work better on > photographic images than they will on graphics. Maybe a more "dumb" > program like Paint would resample a graphic better. Or reducing the > color depth of the image before resizing will also help. > > Post an example, and I'll see what I would do with it. > > C. > > -----Original Message----- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On Behalf Of John Bird > Sent: Tuesday, 19 January 2010 11:15 a.m. > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Resizing images > > More specifically - does the GIMP or any other resizing method allow me > to specify this?: > > Where say an image with a a white background (the transparent colour) > meets a grey border, and the image is resized (especially if resized > smaller), there will be on this edge a new pixel that has part of the > grey border and > the white background. Most resizing operations will change the pixel > to > light grey/cream whereas I want to tell it to either use the original > grey or the white background only for any pixels on the edge. > > John > >> The GiMP is always handy for image manipulation. Generally I draw my >> images in a really old version of Corel Draw, then use GiMP for >> transparance, shadows and so on. >> > > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ------------------------------ _______________________________________________ Delphi mailing list Delphi@delphi.org.nz http://listserver.123.net.nz/mailman/listinfo/delphi End of Delphi Digest, Vol 75, Issue 32 ************************************** The information contained in this email is privileged and confidential and intended for the addressee only. If you are not the intended recipient, you are asked to respect that confidentiality and not disclose, copy or make use of its contents. If received in error you are asked to destroy this email and contact the sender immediately. Your assistance is appreciated. _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe