Lazarus
Programming => Graphics and Multimedia => Graphics => Topic started by: pcurtis on July 06, 2020, 06:57:56 pm
-
Hi All,
I have been thinking of making my own image viewer for some time, and now I would like to start. The first problem I for see is the zooming of the image. The only thing is I don't know where to start. I am looking for something like Google Picasa but without the bloat (libraries, ....). Just a viewer.
The zoom funciton is important. How would / do I implement this?
Thanks in advance.
-
This link might get you started
https://forum.lazarus.freepascal.org/index.php/topic,43424.msg303879.html#msg303879 (https://forum.lazarus.freepascal.org/index.php/topic,43424.msg303879.html#msg303879)
-
I don't know where to start.
If you haven't know how to load an image, this is one among them:
https://forum.lazarus.freepascal.org/index.php/topic,37442.msg251587.html#msg251587
TBGRABitmap is powerful and still relatively easy:
https://forum.lazarus.freepascal.org/index.php/topic,48897.msg353009.html#msg353009