Lazarus

Programming => Graphics and Multimedia => Graphics => Topic started by: pcurtis on July 06, 2020, 06:57:56 pm

Title: Zoom image
Post 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.
Title: Re: Zoom image
Post by: howardpc on July 06, 2020, 07:17:36 pm
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)
Title: Re: Zoom image
Post by: Handoko on July 06, 2020, 07:25:54 pm
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
TinyPortal © 2005-2018