Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request #11

Closed
EvilMilkshake opened this issue Dec 7, 2016 · 2 comments
Closed

Request #11

EvilMilkshake opened this issue Dec 7, 2016 · 2 comments

Comments

@EvilMilkshake
Copy link

Any chance of making the gif random from a folder? Allow for a change every X amount of minutes?

@Waitsnake
Copy link
Owner

Waitsnake commented May 4, 2017

Sorry if I let you hang with an answer. Actually I liked your idea with the slideshow too. Thats why I let the issue open and put an 'enhancement' label on it.

Unfortunately this enhancement needs a bit more to do than all other issues here before, because the structure of the code is not prepared for this feature. Especially the old feature that loads a GIF completely into memory at the start of the saver to save cpu time during the animation is in conflict with this new feature, since the loading into memory needs quite some time(a few seconds if you have really large GIF). So between the changes of two pictures there would be an annoying long time if you enable the load into memory option.

I also need to learn more a about using timer in Objective-C first. And I'm wondering if there is a easy way to start and stop the saver programmatically during the timer procedure and than just change the picture to load randomly? Because this could help to implement the feature with less restructuring of the code.

So you see I still chew over how to integrate this feature...

@Waitsnake
Copy link
Owner

Ok I implement the feature you have requested.
Please have a look at the new Release 1.2 and give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants