Skip to main content
Lavitas Macutis
Inspiring
February 13, 2024
Question

Very large file although images unembedded

  • February 13, 2024
  • 4 replies
  • 714 views

Dear community, 

 

I received a 3.29 GB .idml file from a client, huge because of embedded images and pdfs. Yet after unembedding them all, the file is still 2.71 GB as .indd. Any idea how I could determine why? 

 

Thanks so much!

This topic has been closed for replies.

4 replies

Community Expert
February 22, 2024

If you an open the original

Unembed all the images

 

Then setup a new document with the same page size and margins

With the old document open go to the Pages Panel and select all the pages in the document

Use the submenu for that panel and choose Move Pages

You can then select the new document as the target document

 

Move all the pages to the new document.

 

Then try save it - as it's a new document.

2 other things to try

Save as an InDesign Template - when you open it it will open as untitled

Or try save as IDML and see if that opens.

 

Just extra things to try.

Willi Adelberger
Community Expert
Community Expert
February 22, 2024

Often is content of deleted assets in the file, liker former embedded images.

To solve the problem I do following:

  1. Read the important parameters of the file in document setup and the settings of the baseline gird.
  2. Create a new document with 2 pages based on the settings of step 1. 
  3. The new document must not have any styles except those inherit in a new document in […], no swatches
  4. Have both document saved and open
  5. Go to the old document, > Layout > Pages > Move, select all pages, destination is the new document at the start
  6. Delete the intioal 2 pages and save the new document. 

 

The file size should now be reasonable small.

rob day
Community Expert
Community Expert
February 22, 2024

Hi @Willi Adelberger , If the bloat is being caused by the documented Photoshop ancestor metadata bug (?), reconstructing the file won‘t help because the bloat comes with the image files whether they are embedded or linked.

rob day
Community Expert
Community Expert
February 13, 2024

Hi @Lavitas Macutis , There is a known bug with Photoshop files saving ancestor metadata, and bringing the excess metadata into InDesign. The Photoshop bloat can be fixed via scripting. More in this thread:

 

https://community.adobe.com/t5/indesign-discussions/is-there-a-script-to-clear-indesign-metadata-redundancy-or-the-clipboard-just-like-photoshop/m-p/12638735#M460299

 

rob day
Community Expert
Community Expert
February 13, 2024

I checked the metadata script with the new CC2024 versions of InDesign and Photoshop and it worked. Here’s a compiled script that will work from your Scripting panel:

 

https://shared-assets.adobe.com/link/9da08cd8-3bbe-4ba2-6631-79dd8b5e46c0

 

Lavitas Macutis
Inspiring
February 22, 2024

Thanks so much! I didn’t yet get to try this, my clients sent me a new file and I needed to rush to work on it. I’ll try it as soon as things relax a little and report back. Thanks again!

James Gifford—NitroPress
Legend
February 13, 2024

Have you done a Save-As under a new name (which purges Undo and other "back room" data) or exported it again to IDML? Either one should purge any excess baggage.

 

If it's still large, it may just be a large document; if it seems out of proportion after those two steps, provide a few more details about page count etc.

Robert at ID-Tasker
Legend
February 13, 2024

Or the pesky metadata from images?