> > > as a "relative newbie" here (but not to coding in PASCAL), why do you have > to convert to BMP? does the existing library (ie: LCL and FPC) code not > accept PNG, GIF and similar for these graphic purposes? > > I could not find a way programatically to load an image into a TImageList from a file.
The only function I found was: TImageList.AddMasked(TBitmap,TColor); so I had to convert it to a tbitmap first. > > The problem I'm having is that I cannot get the little bugger to scale to >> 96x96; other than that the code works. I would imagine that setting the >> timage's stretch property to true ought to scale the image to 96x96, but >> that was not the case. >> > > sounds like it looks at the image properties for smaller scale with which > to increase via the "stretch" routine... unlike other "stretch" routines > which also reduce in size to the chosen params... > I'm not sure. All I know is it didn't function as I would have expected.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
