I need to find the real type of images, as a lot of times they come with the wrong extension.
Is this possible with RMagick? How?
Solution:
image.format