Class: FastImage::Heic
- Inherits:
-
Object
- Object
- FastImage::Heic
- Defined in:
- lib/fastimage.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(stream) ⇒ Heic
constructor
A new instance of Heic.
- #width_and_height ⇒ Object
Constructor Details
#initialize(stream) ⇒ Heic
Returns a new instance of Heic.
587 588 589 |
# File 'lib/fastimage.rb', line 587 def initialize(stream) @stream = stream end |
Instance Method Details
#width_and_height ⇒ Object
591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'lib/fastimage.rb', line 591 def width_and_height @max_size = nil @primary_box = nil @ipma_boxes = [] @ispe_boxes = [] @final_size = nil catch :finish do read_boxes! end @final_size end |