Class: FastImageParsing::ImageBase
- Inherits:
 - 
      Object
      
        
- Object
 - FastImageParsing::ImageBase
 
 
- Defined in:
 - lib/fastimage/fastimage_parsing/image_base.rb
 
Overview
:nodoc:
Instance Method Summary collapse
- 
  
    
      #animated?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
Implement in subclasses if appropriate.
 - 
  
    
      #dimensions  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Implement in subclasses.
 - 
  
    
      #initialize(stream)  ⇒ ImageBase 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ImageBase.
 
Constructor Details
#initialize(stream) ⇒ ImageBase
Returns a new instance of ImageBase.
      3 4 5  | 
    
      # File 'lib/fastimage/fastimage_parsing/image_base.rb', line 3 def initialize(stream) @stream = stream end  | 
  
Instance Method Details
#animated? ⇒ Boolean
Implement in subclasses if appropriate
      13 14 15  | 
    
      # File 'lib/fastimage/fastimage_parsing/image_base.rb', line 13 def animated? nil end  | 
  
#dimensions ⇒ Object
Implement in subclasses
      8 9 10  | 
    
      # File 'lib/fastimage/fastimage_parsing/image_base.rb', line 8 def dimensions raise NotImplementedError end  |