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

PNG is limited by available memory #273

Open
natrius opened this issue Jan 21, 2025 · 1 comment
Open

PNG is limited by available memory #273

natrius opened this issue Jan 21, 2025 · 1 comment

Comments

@natrius
Copy link

natrius commented Jan 21, 2025

Admittedly a niche-case:

On https://github.com/lovasoa/dezoomify-rs there is the paragraph about PNG and

The PNG encoder in dezoomify-rs can create very large images; it is not limited by the available memory on your computer. This format is chosen by default when the image is very large, or its size is not known in advance.

I have a very large picture and using

dezoomify-rs.exe https://tiles.arcanum.com/mercator/europe-18century-firstsurvey/15/{{X}}/{{Y}}

Leads to my RAM running full and the image just aborting and the image not usable. So it seems the paragraph is not entirely correct - or did i miss something? The map/image in question
https://maps.arcanum.com/de/map/europe-18century-firstsurvey/?layers=163%2C165&bbox=1286999.2940432588%2C6173024.589068221%2C1360378.8411970278%2C6199357.145312464

I found someone with more RAM that is helping me out, we are curious on how big this image is gonna be.

@lovasoa
Copy link
Owner

lovasoa commented Jan 21, 2025

Indeed, there seems to be an issue on our side.

But downloading at max resolution to PNG is probably not a solution in your case, since you won't find any software that can open such a large PNG. Downloading a lower zoom level, or downloading to IIIF is probably a better idea in your case.

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