I’ve installed “image_size” gem and I get a error message with some jpg
I have a code like this:
filejpg = File.read(“img.jpg”)
img = ImageSize.new( filejpg )
With some jpg files it works right, but with some of them I get this
message error: JPEG marker not found!
I’ve searched on the net and I’ve seen it’s something like the file is
Has anyone the same problem? How can I fix it?
Thx a lot!