-
-
Notifications
You must be signed in to change notification settings - Fork 656
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
dzsave --tile-width and --tile-height #105
Comments
I guess we could put tile-width and tile-height back again if there really is a use for non-square tiles. Is this a common requirement, do you know? I'll have a look at the code again. |
Sorry I suppose is not a common requirement. I don't know...I'm working using landscape photos with google maps and all the photos are non-square. I saw your deprecated variables and I was curious if they could work. Anyway thank you very much for the vips library. Fantastic work! |
But would there be an advantage to non-square tiles? I'm not sure I see a technical need for them, and it would add complication. Thank you for your kind words about vips, it's always nice to get feedback. |
Just don't use background color I suppose... |
I'm not good using libraries. I know a bit of ruby only. What commands I should use to tile a giga image for google maps (in non square tiles). |
Hi again, I've been on holiday, sorry for the pause. The current dzsave will only do square tiles --- you'd need to change the C if you really wanted non-square tiles. vips can make two basic sorts of image pyramid.
If you want to work with google maps you need something like: vips dzsave my_huge_image.tif myoutputdir --layout google and it'll write a set of tiles to a directory called |
Thank you very much! |
My use case for non-square tiles is zooming photographs with dimensions that don't divide by 256. (Explicitly setting tile width and height would be a pain for me, this just short-circuits the code that pads edge tiles to 256) I think this looks better than bordering the image. I have a fork of libvips with another small change to save tiles as z/x/y. |
Fantastic! Thanks! |
I would like to use tile size non square: --tile-width and --tile-height (using --layout google) but it doesn't work. Are these options deprecated? Any chance it works?
The text was updated successfully, but these errors were encountered: