Copy link to clipboard
Copied
Copy link to clipboard
Copied
Not that huge. What is the image size in pixels, please?
Copy link to clipboard
Copied
Some times there is a lot of old Meta Data that is not needed. Try this script to delete it.
function deleteDocumentAncestorsMetadata() {
whatApp = String(app.name);//String version of the app name
if(whatApp.search("Photoshop") > 0) { //Check for photoshop specifically, or this will cause errors
//Function Scrubs Document Ancestors from Files
if(!documents.length) {
alert("There are no open documents. Please open a file to run this script.")
return;
}
if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
var xmp = new XMPMeta( activeDocument.xmpMetadata.rawData);
// Begone foul Document Ancestors!
xmp.deleteProperty(XMPConst.NS_PHOTOSHOP, "DocumentAncestors");
app.activeDocument.xmpMetadata.rawData = xmp.serialize();
}
}
//Now run the function to remove the document ancestors
deleteDocumentAncestorsMetadata();
Copy link to clipboard
Copied
JJ: thanks, and sorry, not a geek, so just exactly HOW do I do this?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
200x200px @ 300dpi
Compare image quality settings:
12 Max = 375K
0 Low = 338K
THAT’s a problem!
Copy link to clipboard
Copied
These numbers do seem to show it may be the metadata thing. I wonder, is this a file you edit again and again and again, pasting or placing new layers or graphics and saving a new copy? Each time you do that, the file grows.
Copy link to clipboard
Copied
Indeed I do multiple saves, using it as a template, but I delete each new imported image after saving it. Seems like there should be some automatic cache or metadata clearing feature here.
Copy link to clipboard
Copied
I agree, there should be some clean up when the imported image is deleted. But there isn't, so far as I know.
Copy link to clipboard
Copied
The problem is not the image itself, but excessive metadata in the file. This can happen with files from unknown sources that have been copy/pasted a huge number of times. Each paste leaves a record in metadata. This can sometimes accumulate to astonishing sizes.
If you don't want to get into scripts, a much easier way is to use Export or Save For Web. Both will strip out metadata and solve the problem.
Copy link to clipboard
Copied
Does Export retain DPI? Because Save For Web does not.
Copy link to clipboard
Copied
Thanks. Exporting seems to clear the problem.