Sha256: 7f5b5c5b94ad84a73619918bcded5dab6aceeffa5c90f3cfaa83f06f4252c9e1

Contents?: true

Size: 601 Bytes

Versions: 5

Compression:

Stored size: 601 Bytes

Contents

# image_size

measure image size using pure Ruby
formats: PCX, PSD, XPM, TIFF, XBM, PGM, PBM, PPM, BMP, JPEG, PNG, GIF, SWF

## Download

The latest version of image\_size can be found at http://github.com/toy/image_size

## Installation

    gem install image_size

## Simple Example

    ruby "image_size"
    ruby "open-uri"

    open("http://www.rubycgi.org/image/ruby_gtk_book_title.jpg", "rb") do |fh|
      p ImageSize.new(fh.read).size
    end

## Licence

This code is free to use under the terms of the Ruby's licence.

## Contact

Original author: "Keisuke Minami": mailto:keisuke@rccn.com

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
image_size-1.0.6 README.markdown
image_size-1.0.5 README.markdown
image_size-1.0.4 README.markdown
image_size-1.0.3 README.markdown
image_size-1.0.2 README.markdown