Unfortunately yes. I use a TFPMemoryImage descendant as internal datastructure in my application. Alternatively I could use OpenGL context to draw the images (thumbnails), but I would prefer TCanvas if possible. For now I'm just copying the data over to a bitmap, but this is of course far from ideal.
Gr. Darius On 4 feb '12, Felipe Monteiro de Carvalho wrote: > Does it have to be TFPMemoryImage? > > You can use TLazCanvas+TLazIntfImage+RawImage, like this wiki example > demonstrates: > > http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Using_the_non-native_StretchDraw_from_LazCanvas [1] Links: ------ [1] http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Using_the_non-native_StretchDraw_from_LazCanvas
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
