openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] validity check on files


From: James McPhail
Subject: [Openexr-devel] validity check on files
Date: Fri, 03 Oct 2003 15:36:06 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

I hope this hasn't been touched upon in a previous thread.

Is there functionality in the toolkit for determining if an "InputFile" is bogus? Specifically, can the toolkit determine, when passed a file name, that the given file is not of the EXR format?

I had initially wanted to try

InputFile file(fileName);

then had hoped there would be some flag or function call on this 'file' variable or its associated header which would indicate that it was not a valid file, however this InputFile constructor throws an exception (which I couldn't manage to catch) and then crashes.

Any help would be appreciated.

James






reply via email to

[Prev in Thread] Current Thread [Next in Thread]