Class: WaxIiif::ImageTile
- Inherits:
-
ImageVariant
- Object
- ImageVariant
- WaxIiif::ImageTile
- Defined in:
- lib/wax_iiif/image_tile.rb
Overview
Class ImageTile is a specific ImageVariant used when generating a stack of tiles suitable for Mirador-style zooming interfaces. Each instance of ImageTile represents a single tile.
Instance Attribute Summary
Attributes inherited from ImageVariant
Instance Method Summary collapse
-
#initialize(data, config, tile) ⇒ ImageTile
constructor
Initializing this.
Methods inherited from ImageVariant
#generate_image_id, #height, #mime_type, #width
Methods included from Utilities::Helpers
#escape_yaml, #generate_build_location, #generate_id, #generate_image_location, #get_data_path, #save_to_disk
Constructor Details
#initialize(data, config, tile) ⇒ ImageTile
Initializing this
18 19 20 21 |
# File 'lib/wax_iiif/image_tile.rb', line 18 def initialize(data, config, tile) @tile = tile super(data, config) end |