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

Limits and Efficiency #2

Open
dyablohunter opened this issue Apr 14, 2015 · 5 comments
Open

Limits and Efficiency #2

dyablohunter opened this issue Apr 14, 2015 · 5 comments

Comments

@dyablohunter
Copy link

Hi,

This is very interesting!

I have 2 questions:

  1. Is there a limit to the number of images that can be used for the mosaic, can you use it for 1 million images 1000x1000 grid?
  2. How much time did it take to process the 10k mosaic from the example and on what machine specs?

I am interested in using and improving on this.

Thank you a bunch!

@eflorit
Copy link
Owner

eflorit commented Apr 14, 2015

Hi,

The only limit is your computer memory. I think it took me about an hour to generate the demo mosaic, using an "old" PC from 2010 with 3GB of RAM. I would except much better performance on a better machine, although performance isn't necessarily what I was after when I made this.

Feel free to fork and/or improve! :)

@dyablohunter
Copy link
Author

Hmm, an hour is pretty long, maybe it was because of the lack of RAM? If the process is long it can take-up a lot of ram indeed, but if 10k takes 1 hour imagine 1 mil :D
I am interested in making this a server-side script and optimizing the whole thing in such a way that it doesn't take more than a few minutes even for 1 million tiles.

The problem is I am lacking the PHP skills required, I have experience more with front-end stuff.

Are you available for a discussion on skype or anywhere else?

Thanks.

@eflorit
Copy link
Owner

eflorit commented Apr 14, 2015

It was 3 years ago now so I'm not positive about the number, I do remember it taking an hour at some point but I can't remember if it was before or after certain performance improvements.

I have very little free time so I won't be able to chat, but if you have questions on certain parts of the code maybe I can try to help you understand how it works. The logic is fairly easy, especially if you look at the GD documentation.

@dyablohunter
Copy link
Author

I would love to have your email so I can send you my research on this so far, maybe you will be interested in a collaboration, not free of course :)

@eflorit
Copy link
Owner

eflorit commented Apr 15, 2015

[edited]

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

No branches or pull requests

2 participants