Joe Van Dyk schrieb:
> I still have no idea why it's giving me "Zero-length blob
> not permitted" for this line:
> @magick_image = Magick::Image.from_blob(@file.read).first
> 
> What's weird is that if I leave out the .first method call, I don't
> get that error.  But if I print out the size of @file.read.size, and
> then call the Image.from_blob line, then I get the Zero-length blob
> error.
> 
> It's driving me crazy.  :(

I hope it's not too late :-) If you call @file.read.size, shouldn't you 
then do a #rewind before reading again?

Regards,
Pit