Skip to main content
Participating Frequently
March 31, 2013
Answered

Embedded images result in enormous filesize

  • March 31, 2013
  • 4 replies
  • 39330 views

I'm using Illustrator to crop and arrange a number of raster images. However, I'm starting to have file management problems, because the Illustrator files quickly balloon in size.

Example: I got public domain jpg image of a deer off the Wikimedia Commons. This jpg image is 0.35MB. I opened up a new Illustrator document, placed and embedded the image, and saved the document (with the 'pdf compatible box' unchecked). The resulting Illustrator file is 7.7MB in size, over 20 times the size of the embedded jpg image.

I've looked around these fora, but other than the 'pdf compatible box', I couldn't find any good solutions. Could anyone suggest a workaround? Or is there some other option or preference that I could tweak? I need to use embedded images rather than links, but the files are getting out of control (>100MB).

The screen capture at the end of this post shows the situation. In the top folder in the screencapture, the image file is highlighted, so you can see the filesize. In the lower folder in the screencapture, the Illustrator file is highlighted, so you can see it's filesize. Then you can see the open Illustrator document on the right.

(edit: the forum software is no longer allowing me to add images, so I've put the screencapture on Google Drive here:

https://docs.google.com/file/d/0B0Hoxcl5zTEtX0d3MlFQWnhSWEU/edit?usp=sharing)

The .ai file with the embedded image is here:

https://docs.google.com/file/d/0B0Hoxcl5zTEtMGhiOVRnMnhSVGM/edit?usp=sharing

I'm using Illustrator CS6 64-bit, v16.0.3 on Windows 8-64.

Any advice would be greatly appreciated,

Tim

Correct answer zippidi

I don't know if you ever got a reasonable answer from these so called know-it-all f@ck wits but the solution I found was quite simple.

Cropped your image down in Photoshop to the size that it will be displayed on your Illustrator page at the appropriate PPI.

I was having the same issue and wondered why embedding 7 images resulted in an increase in size of 150mb even though each image size on the page was only 30mm x 30mm.

As an experiment, I cropped them down to this size in PS and it worked.

4 replies

New Participant
June 16, 2022

This is an old thread but the problem still exists. Using linked files is probably the safest solution though not always the most convenient. To simplify the process just use the package feature. It will automatically place your illustrator file, linked images, & fonts in a subfolder. Make sure you don't have PDF compatibily checked when saving your file. So long as the structure of that subfolder is maintained you shouldn't run into problems with links.

There is an option not mentioned here that might be better for those who want embedded images & a single file. Instead of saving your document as an illustrator file, save it as a PDF. You will be presented with a dialog box that contains various settings for the PDF you're about to save. On the general tab make sure to check "Preserve Illustrator Editing Capabilities". On the compression tab use one of the jpeg options for color & greyscale bitmap images. This is the key to keeping the embedded images at a reasonable size. It may also be helpful to use downsampling to further decrease file size. For example, if you're sending a the file to a print shop that only prints at 300 dpi, there is no sense in embedding 600 dpi images. The down side to this solution is imaged degradation. Each time you open and save the document using this method the images will be recompressed. Over time that may become an issue.

 
Monika Gause
Community Expert
Community Expert
June 16, 2022
quoteThere is an option not mentioned here that might be better for those who want embedded images & a single file. Instead of saving your document as an illustrator file, save it as a PDF. You will be presented with a dialog box that contains various settings for the PDF you're about to save. On the general tab make sure to check "Preserve Illustrator Editing Capabilities".

By @Qualtry24584829br5v

 

The images will only be embedded in the PDF part of the file. When you open it in Illustrator, the placed files will not be there. You can extract them from the PDF, but that will require extra work and the knowledge of how to do it. And you will have the same problem over and over again after every edit.

zippidiCorrect answer
Inspiring
November 22, 2016

I don't know if you ever got a reasonable answer from these so called know-it-all f@ck wits but the solution I found was quite simple.

Cropped your image down in Photoshop to the size that it will be displayed on your Illustrator page at the appropriate PPI.

I was having the same issue and wondered why embedding 7 images resulted in an increase in size of 150mb even though each image size on the page was only 30mm x 30mm.

As an experiment, I cropped them down to this size in PS and it worked.

corys53234175
New Participant
December 1, 2023

This is the best solution here, thanks!

Steve Fairbairn
Inspiring
April 1, 2013

This behaviour is entirely normal. The pixel information becomes part of the Illustrator file and is therefore in Illustrator format.

To see the real uncompressed size of your JPEG files, try saving them in other formats, for example uncompressed tiff.

You will see that the Illie files are not really bloated, it’s just that the JPEG compression has been removed from the images, which is why you should keep your images linked for as long as possible.

Why do you think you need to embed the images?

asee23455Author
Participating Frequently
April 1, 2013

I think I need to embed the images because I work off of two different computers. Recent experience suggests that, when I transfer the project folder from one system to the other, the links break. I use simple backup software to make sure that the project folders on the two systems are identical, so the relative locations of the files are the same on both systems, but since these are different computers, the absolute paths are different.

In an earlier post on a related question, folks suggested that Illustrator uses absolute locations rather than relative ones, and that this is indeed the cause of my broken-link problem. If I could get Illustrator to use relative links, I'd be OK, but posters suggested this wasn't possible. Given that I need both computers, and relative links aren't possible, I have two choices: use links, but have to keep resetting them (annoying) or embed the images in the ai documents (slightly less annoying).

If you know of any better options, I'd love to hear.

Steve Fairbairn
Inspiring
April 1, 2013

As long as the pixel image is in the same folder as the Illie file, Illie will have no trouble finding the image.

Jacob Bugge
Community Expert
Community Expert
March 31, 2013

Tim,

When you File>Place the image, you may tick Link.

With this, Illy uses the image as an external file that only appears in the document, and the AI filesize remains low.

asee23455Author
Participating Frequently
March 31, 2013

True, but I really want the images embedded, not linked.

Jacob Bugge
Community Expert
Community Expert
March 31, 2013

Tim,

One reason for bloating filesize is that when you start messing with JPEGs you lose the compression, so it is a bit like trying to fly with liquid helium still in the tank without letting it inflate the balloon.