Skip to content

dblock/dzt

Repository files navigation

DZT

Gem Version Build Status Dependency Status Code Climate

Slice deep-zoom tiled images to be used with OpenSeaDragon or ARTiledImageView.

Usage

gem install dzt

Get Help

dzt help

Tile an Image

dzt slice image.jpg --output tiles

Creates a tiles folder with deep-zoom tiles. This will use the defaults defined in /lib/dzt/tiler.rb.

You can pass in flags to override all these options, such as:

dzt slice image.jpg --output=tiles --format=90 --tile-format=png

Additionally, you can have generated files uploaded to S3 for you. You can specify that like:

dzt slice image.jpg --acl=public-read --bucket=bucket --s3-key=prefix --aws-id=id --aws-secret=secret

The files will be uploaded to the bucket specified, and generated files will be prefixed by the s3 key.

Contributing

See CONTRIBUTING.

Copyright and License

Copyright (c) 2015, Daniel Doubrovkine, Artsy. Some tiling code inspired from deep_zoom_slicer.

This project is licensed under the MIT License.

About

Slice deep-zoom images.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages