Progress Bar while loading Graphic?

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

SlrG

Progress Bar while loading Graphic?

Post by SlrG »

Hello!

While trying to write my own wallpaper changer I stumbled across GFL. It's a really powerful Library and I like it a lot. :)

But I've one problem. Several of my wall are rather large and take a long time to load.

Now I want to add a progress bar, which shows the status of the loading procedure. But I don't know how to do this.

Any ideas?

Michael
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Progress Bar while loading Graphic?

Post by xnview »

SlrG wrote:While trying to write my own wallpaper changer I stumbled across GFL. It's a really powerful Library and I like it a lot. :)
Thanks
But I've one problem. Several of my wall are rather large and take a long time to load.

Now I want to add a progress bar, which shows the status of the loading procedure. But I don't know how to do this.

Any ideas?
Currently it's not possible.
Pierre.
Guest

Post by Guest »

Thank you for answering. :) Maybe you could include it in a future release?
lazerfisk
Posts: 17
Joined: Wed May 05, 2004 3:00 pm
Location: Karlstad, Sweden

Post by lazerfisk »

Make something even fancier: Load a thumbnail into a nice form with the text "Changing wallpaper" or something :) Don't know if the threading permits you to move on while loading an image - that would be if you used a timer or something and probed for a percent value, but that would still require a lot more from the component than it does today :)