Sha256: 65edc6653f84c95f2446877152fbd89f20181efed04ba5a50a6f8239cebf32f6

Contents?: true

Size: 715 Bytes

Versions: 1

Compression:

Stored size: 715 Bytes

Contents

= image_size -- measure image size(GIF, PNG, JPEG ,,, etc)

measure image size using pure Ruby
["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 "rubygems" # you use rubygems
  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

Comments are welcome. Send an email to "Keisuke Minami":mailto:keisuke@rccn.com

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
image_size-1.0.0 README.rdoc