From: Allan Schaffer (allan++at++sgi.com)
Date: 08/06/2003 22:09:14
Hi Rebecca,
Rebecca Lim wrote:
> I get this error message when I tried to load a pfb
> file.
>
> iopen: bad magic in image file ffd8
> Does anybody knows the reason?
This error is being printed when loading (but failing to load) a .rgb
(texture) file referenced by the PFB. For whatever reason the RGB file
is invalid.
Usually I'd suspect endianness, but the proper "magic value" in an RGB
file is 0732 (according to gl/image.h), and that is not the endian flip
of ffd8. Perhaps crank up your PFNFYLEVEL and see if there are other
messages; or if you know which RGB file it's trying to load, run IRIX
tools like "istat" on the file in question to see if it's correct.
Allan
-- Allan Schaffer allan++at++sgi.com Engr. Manager, Core Rendering 1-650-933-2160 Silicon Graphics http://www.sgi.com
This archive was generated by hypermail 2b29 : Wed Aug 06 2003 - 22:09:12 PDT