From: Daniel Berger Date: 2007-07-20T07:40:08+09:00 Subject: Re: Validating an Image file is an image file On Jul 18, 9:46 pm, John Joyce wrote: > I've not had time to test it out or kick the tires yet, but I've > dubbed it 'The Daniel Berger Detector' Heh. :) Well, I've officially added it to ptools, release 1.1.5, which I just put out. So, now you can do: require 'ptools' File.image?(file) Regards, Dan