# Get Image Size

**URL:** <https://www.ruby-forum.com/t/get-image-size/95879>\
**Category:** Ruby\
**Created:** [June 17, 2006, 3:15pm UTC](https://www.ruby-forum.com/t/get-image-size/95879 "2006-06-17T15:15:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashiro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e5b9ba/32.png) [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Post date:** [June 17, 2006, 3:15pm UTC](https://www.ruby-forum.com/t/get-image-size/95879/1 "2006-06-17T15:15:18Z")

</div>

Hi Ruby Folk

I’m looking to create a web image leecher/downloader and I’ve hit a  
snag. I  
can’t find an easy way/library for determining the size of an image.  
Surely  
there’s an image library out there that allows you to find this  
information  
quickly and simply?

I’d be very grateful for any light you can shed on this.

All the best.

Doug

---

<div class="post-metadata">

**Author:** ![ashiro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e5b9ba/32.png) [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Post date:** [June 17, 2006, 4:10pm UTC](https://www.ruby-forum.com/t/get-image-size/95879/2 "2006-06-17T16:10:27Z")

</div>

On Saturday 17 June 2006 7:12 am, Doug B. wrote:

> Hi Ruby Folk
> 
> I’m looking to create a web image leecher/downloader and I’ve hit a snag.  
> I can’t find an easy way/library for determining the size of an image.  
> Surely there’s an image library out there that allows you to find this  
> information quickly and simply?

[http://www.rubycgi.org/archive](http://www.rubycgi.org/archive)

Kirk H.
