Re: [info-performer] iopen: bad magic in image file d

Date view Thread view Subject view Author view

From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 06/05/2003 16:17:00


for whatever reason, your rgb file was saved with a bad magic number.
look at image.h (either in /usr/include/gl/image.h (on irix) or
/usr/include/Performer/image.h (any platform)).
the first element in the image structure is an unsigned short imagic.
imagic should be 702 octal (1da hex).

you can double check this with xxd or od -x or whatever hex dump tool
you like to use.
-tom

On Thu, 5 Jun 2003, Tone Milazzo wrote:

> When perfly chokes when reading my OpenFlight file and says "iopen: bad
> magic in image file d" is there some way to get real information about
> what is wrong with my texture?
>
> -tone
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>

--
"Mongooses are famous for their snake-fighting ability, and are
 almost always victorious because of their speed, agility, and timing
 and also because of their thick coat."


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jun 05 2003 - 16:17:06 PDT