Class: FastImageParsing::Psd

Inherits:
ImageBase show all
Defined in:
lib/fastimage/fastimage_parsing/psd.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from ImageBase

#animated?, #initialize

Constructor Details

This class inherits a constructor from FastImageParsing::ImageBase

Instance Method Details

#dimensionsObject



3
4
5
# File 'lib/fastimage/fastimage_parsing/psd.rb', line 3

def dimensions
  @stream.read(26).unpack("x14NN").reverse
end