> > No reply until now!. > > Is there nobody interested in solving this problem? > > Am I the only person with this problem? > > > > Marien > > > > On 5/25/06, *Marien van Westen * <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Hello, > > > > When I load a picture in a Timage and I use the property Stretch > > to get a smaller image, I see a change in colors and a Blocky > > pattern appears. > > See the attachment. I try to make a photo-indexing program, but > > this "feature" stops me from finishing it. > > I think something is wrong with the stretching algoritm, but I > > cannot find the unit where it is implemented. > > Can somebody help me where to find this unit? > > > > Marien > > > > > It is implemented in C:\lazarus\lcl\include\customimage.inc. > See procedure TCustomImage.SetStretch(Value : Boolean); Regards
Probably some bug with the subsampling or dithering algorithm that is being used there for the stretching-down ---------------- George Birbilis ([EMAIL PROTECTED]) Microsoft MVP J# for 2004-2006 Borland "Spirit of Delphi" * QuickTime, QTVR, ActiveX, VCL, .NET http://www.kagi.com/birbilis * Robotics http://www.mech.upatras.gr/~Robotics http://www.mech.upatras.gr/~robgroup _____ avast! Antivirus <http://www.avast.com> : Outbound message clean. Virus Database (VPS): 0623-2, 08/06/2006 Tested on: 8/6/2006 10:21:23 ?? avast! - copyright (c) 1988-2006 ALWIL Software. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
