Skip to navigation

Question:
How to get the dimension from a image file in ruby?

Use simple algorithms as well as simple data structures.