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

Smaller dimension images do not get tiled as expected #57

Open
cjativa opened this issue Mar 10, 2023 · 0 comments
Open

Smaller dimension images do not get tiled as expected #57

cjativa opened this issue Mar 10, 2023 · 0 comments

Comments

@cjativa
Copy link

cjativa commented Mar 10, 2023

I am opening this issue to understand the limitations the iiif_static.py module has when it comes to generating tile output for smaller sized images.

I've attached an example image (it's just a small version of the Google Small Business logo) and I attempt to tile it with the command

python3 /usr/local/bin/iiif_static.py -d .<some_output_directory> -p <some_base_path> --max-image-pixels 1000000000 ./google.jpg 
--verbose

When I look at the generated tile output, I only see

- full
- info.json

image

and no other subsequent folders, like I would for the tile output for a larger dimension image. Meanwhile, here is the tile output for a larger dimension image

image

My question is
Is there any error going on in the underlying tile process that I can attempt to check for, when an image is too small to be tiled? I have run the iiif_static.py module with the --verbose flag, but none of the output directly indicates that the image file is too small for tiling.

I'd like to catch such a scenario so that I can inform users that upload an image that the image is too small for tiling. Thank you!

Google Small Business
google

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

1 participant