Did not know that one, cool. Although if dealing with many images it could cause some heavy overload having to write a tmp file for each. Maybe it should have a boolean argument defaulting to true, for whether it should only return a result if finfo_open exists?