I have a large jpg that has a resolution of x * 256 / x * 256. I want to cut this image into 256x256 tiles using the naming convention {zoom} - {x} - {y} .jpg, In the past I used ZoomifyExpress Converter, which does cutting and scaling. I also want 6 different zoom levels. I started with this command:
convert example.jpg -crop 256x256 + gravity -set filename: tile. / tiles /% [fx: page.x / 256] -% [fx: page.y / 256]% [filename: tile] .jpg
This creates a lot of xy.jpg tiles. I do not know how I can add different levels of increase. I'm a relative newbie to ImageMagick and this seems like a basic thing. Hope someone can help me. Thanks in advance.
source
share