[Lazarus] Fastest way to draw TFPMemoryImage
dhkblaszyk at zeelandnet.nl
dhkblaszyk at zeelandnet.nl
Sat Feb 4 18:13:17 CET 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120204/c47aa61f/attachment-0003.html>
More information about the Lazarus
mailing list