Jump to content

JPEG - Invalid Image File Header


mattclasvegas
 Share

Recommended Posts

Jpeg - Invalid Image File Header ---

 

Anyone know what causes this error when rendering. I'm rendering a large casino interior animation with multiple bits a pieces from three designers and I keep getting this error message from backburner.

 

I'm using 3DS Max 2008 w/ Vray Advance 1.5 Service Pack 2

 

It does it after the frame is rendered -- then restarts the frame (over and over). I've consolidated my maps, searched through hundreds of materials in the scene. I'm still just trying to do my indirect lighting calculations so I can render.

 

Thanks,

matt

Link to comment
Share on other sites

I'm rendering the entire scene through Backburner using only my workstation to generate the indirect illumination --so far. It did work for my lighting (it would error and keep progressing through the animation) --but, now it's not working again. It just keeps erroring and restarting on frame 0.

 

I'll try the tiff (first I was saving jpg and now png).

 

I'm a little stressed, I told our CEO that we'd need a month to do this project and he gave us 13 days to model, light, animate and render the casino interior -- and they have already scheduled a client meeting next Wednesday in Canada.

 

matt

Link to comment
Share on other sites

How is your RAM usage?

 

I'll check. It's funny because I'm running Dual Quad Core Xeons with 4 Gig of ram. My dedicated 3d guy is only running Dual Core 2 duos with 4 gig or ram and he has far fewer issues than I do on these large files.

 

The original master file is 140 megs --- We strip it down to about 70 megs when we remove the stuff that won't be visible in the renders.

 

matt

Link to comment
Share on other sites

I get the feeling that this is not a Backburner issue but instead more a case of a corrupt image file. A JPEG is broken into two parts, the header and the scan. If the header is broken, then the entire image won't load. If the scan is broken, it will load with errors. Seeing as Backburner is returning the error, it sounds like it is failing when it tries to load the corrupt file.

 

If your colleague has a copy of all the image files you're using for textures and his renders are working, I'd recommend taking a copy of his files and loading them onto your machine. The other alternative is to locate the corrupt JPEG and trying to repair it.

Link to comment
Share on other sites

I was scanning my maps in Adobe Bridge and I did find two jpgs that wouldn't open in Photoshop. I opened other files and renamed using the same name as the corrupted files -- I'm rendering right now to see if they are the problem (I took the geometry associated with the maps out though).

 

matt

Link to comment
Share on other sites

Okay, i found it -- sort of. I hid the geometry in the area that I suspected had the problem and unhid one or two items and rendered. After three or four cycles I found that the materials that SketchUp set up (the solid color maps) where somehow causing the problem. I deleted the maps from the material editor (leaving the standard material that matched the map color) and now it seems to be going.

 

matt

Link to comment
Share on other sites

  • 1 year later...

Your problem coud be the location where you are saving your images, i mean, your render path. If you are doing a Net render, the render path should be a public path. So, on Render Output, save your file in your location "\\xxx.xxx.xxx.xxx\Public\Folder_name\".

Link to comment
Share on other sites

  • 5 months later...

I came across this thread because I cant find anymore info about my problem.

 

I am running MAX 2011; exporting from Revit 2011. Without getting to the BS Materials problem between the two...

 

I can render and save images from within Max. However, as soon as it goes through backburner i get the Image header problem.

 

If my local machine can render and save the image... and then i send through backburner and use my local as a server, it wont render, it comes back with the error...

 

Running all the latest updates.. ITs a clean machine. Just got it.

 

OH. i can even view all the jpegs saves in the fbx folder through microsoft picture manager. I thought the issue with the header is you cant even see the images... I can see them all...

 

Any help would be appreciated...

 

Arkitec

Link to comment
Share on other sites

  • 4 weeks later...

This thread is VERY old but i've just come across this problem.

 

1) this is DEFINITELY a corrupt JPEG that's causing it

2) repair the jpeg (if you can) or replace it

3) corrupt JPEGs will often display in Windows Picture Viewer just fine, making you think the file is fine, but if you open it in Photoshop it will not work. This will prove that the file is dead.

 

Hope this helps. Cheers,

 

I came across this thread because I cant find anymore info about my problem.

 

I am running MAX 2011; exporting from Revit 2011. Without getting to the BS Materials problem between the two...

 

I can render and save images from within Max. However, as soon as it goes through backburner i get the Image header problem.

 

If my local machine can render and save the image... and then i send through backburner and use my local as a server, it wont render, it comes back with the error...

 

Running all the latest updates.. ITs a clean machine. Just got it.

 

OH. i can even view all the jpegs saves in the fbx folder through microsoft picture manager. I thought the issue with the header is you cant even see the images... I can see them all...

 

Any help would be appreciated...

 

Arkitec

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
I came across this thread because I cant find anymore info about my problem.

 

I am running MAX 2011; exporting from Revit 2011. Without getting to the BS Materials problem between the two...

 

I can render and save images from within Max. However, as soon as it goes through backburner i get the Image header problem.

 

If my local machine can render and save the image... and then i send through backburner and use my local as a server, it wont render, it comes back with the error...

 

Running all the latest updates.. ITs a clean machine. Just got it.

 

OH. i can even view all the jpegs saves in the fbx folder through microsoft picture manager. I thought the issue with the header is you cant even see the images... I can see them all...

 

Any help would be appreciated...

 

Arkitec

 

Arkitec:

 

Did you ever find your problem JPEGS? I have an identical software setup as you and I am having the same problems. I cannot find any invalid maps / jpegs, but I suspect the error is coming from Revit's material library? Any help?

 

Thanks!

Link to comment
Share on other sites

  • 4 weeks later...

YES!!!! I got it all working on Friday!

 

It is a texture from Revit issue... OR at least these were the textures giving me the problem....

 

I thought I changed ALL my textures to Vray textures. So I couldnt figure out my problem... Here is what I did to get it fixed...

 

First, I tried to use the resource collector within MAX to see where it would pull all the jpgs from.. This doesnt seem to work all the time.. I did find a script on Script Spot that worked... It pulls even the referenced MAX files which the default collector in MAX doesnt.. Id go download that first..

 

Second. I opened up Adobe Bridge. I noticed several jpegs where only showing the default jpg image instead of a preview of the texture... These jpegs were from Revit... or the new material library ( I thought I changed all of them in MAX)...

 

Third, Went back to max... Material Browser. I checked the INCOMPATIBLE radio button and THERE THEY WERE.. The same textures I thought I had replaced... Used select by... changed them to a Vray Material...

 

That was it! Net Rendered over the weekend... Its so nice to have it back up and running...

 

Arkitec

Link to comment
Share on other sites

  • 2 weeks later...

One thing I've noticed with max 2011 is that the asset tracker does not seem to update automatically, and also seemed to not always update when clicking the "refresh" button.

 

I went through a scene and cleared out any materials associated with Revit, but any .jpg or other bitmap links remained in the asset tracker, even though they were no longer in the scene or material editor. Clicking on those items in the asset tracker, and then choosing to "strip paths" caused the them to disappear completely from the asset tracker list, and no more errors were caused at render.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...