JpgReader#dimensions returns a hash