Skip to content

openzoom/deepzoom.rb

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 1 commit ahead of meso-unimpressed:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Ruby Deep Zoom Tools

Convert images into the Microsoft Deep Zoom Image (DZI) file format.

DZI files can be rendered using any of the following software:

* Microsoft Silverlight Deep Zoom
* Microsoft Seadragon Ajax
* Microsoft Seadragon Mobile
* Microsoft Live Labs Pivot
* OpenZoom

Requirements

rmagick gem (tested with version 2.9.0)

Usage

require "deepzoom"
image_creator = ImageCreator.new
image_creator.create("path/to/your/image.jpg", "path/to/your/image.dzi")

Or define custom settings:

require "deepzoom"
image_creator = ImageCreator.new

# Custom settings
image_creator.tile_size = 508
image_creator.tile_overlap = 2
image_creator.tile_format = "png"
image_creator.image_quality = 0.5
image_creator.copy_metadata = true

# convert
image_creator.create("path/to/your/image.jpg", "path/to/your/image.dzi")

Additional Information

Copyright © 2009, MESO Web Scapes, Sascha Hanssen (hanssen@meso.net) All rights reserved.

Contributor(s):

  • Sascha Hanssen <hanssen@meso.net>

  • Daniel Gasienica <daniel@gasienica.ch>

Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

Deep Zoom and Seadragon are trademarks or registered trademarks of Microsoft, Inc.

About

Ruby Deep Zoom Tools

Resources

License

GPL-3.0 and 2 other licenses found

Licenses found

GPL-3.0
LICENSE-GPL.txt
LGPL-3.0
LICENSE-LGPL.txt
Unknown
LICENSE-MPL.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%