class Compass::SassExtensions::Functions::ImageSize::JPEG

Attributes

bits[R]
height[R]
width[R]

Public Class Methods

new(file) click to toggle source
# File lib/compass/sass_extensions/functions/image_size.rb, line 61
def initialize(file)
  if file.kind_of? IO
    examine(file)
  else
    File.open(file, 'rb') { |io| examine(io) }
  end
end