Copy link to clipboard
Copied
I keep getting Bad Header Error 86::1 from same PSD file, TBH only started doing this recently, out of the 35-50 jpg images that come out of this PSD file for use in backgrounds some are getting this error. Now none will load. Been using same software AE 15.1.2 and PS CS6 for almost a year nothing changed in PSD, so IDK what to do? (I could save as other format but I want to know why its messing up.)
1 Correct answer
Hmm okay, using the same "save" different PSD it worked, so it maybe something in the PSD. I guess I will just built a new one!
UPDATE: YEP WORKS NOW! Created new PSD created jpgs from that and they went right in.
Do anyone know the reason, can a PSD just corrupt like that?
Copy link to clipboard
Copied
Can you post a screen grab of the save dialog(s) that appear when you save the Jpegs from your PSD in Photoshop?
Can you save Jpegs from other PSDs that work in AE?
Copy link to clipboard
Copied
Here is the dialog, I use a script and action to save time. Whether I do it manually or with script it doesn't work. I am reinstalling AE right now so I cant test other PSD. But will as soon as it is done!
var doc = app.activeDocument;
var docpath = doc.path;
var activeLayer = doc.activeLayer;
var saveFile = File(docpath + "/" + activeLayer.name + ".jpg");
saveJPG(saveFile, 10)
function saveJPG(saveFile, jpegQuality) {
var jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true;
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 7;
activeDocument.saveAs(saveFile, jpgSaveOptions, true, Extension.LOWERCASE);
};
Copy link to clipboard
Copied
Hmm okay, using the same "save" different PSD it worked, so it maybe something in the PSD. I guess I will just built a new one!
UPDATE: YEP WORKS NOW! Created new PSD created jpgs from that and they went right in.
Do anyone know the reason, can a PSD just corrupt like that?
Copy link to clipboard
Copied
The obvious culprit: CMYK rather than RGB.
Copy link to clipboard
Copied
It says RGB mode?

