Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Hurra on March 29, 2021, 11:40:32 pm

Title: Reduce size of generated document/see file size of image assets?
Post by: Hurra on March 29, 2021, 11:40:32 pm
Hi!

I generate a document which gets quite big (in file size), compared to "normal" word-files. The generated document is not super big, under 30 pages. I use a lot of "Alternate Image" (ctrl+shift+w) in my diagrams to make them more pleasing for the stakeholder. My guess is that this might blow up the file size.

However, I checked one of the images. That specific image is only 139 kB, at least on my local drive.

Can I somehow see the size on images in the Image Manager? So I can change any images which might be to big?

Might it be something else that triggers the big file size?

Scale Saved Bitmaps?
Image Memory Limit?

Or is it nothing I can do besides reducing the number of diagrams? Which I'm afraid I can't.

Thank you!
Title: Re: Reduce size of generated document/see file size of image assets?
Post by: Geert Bellekens on March 29, 2021, 11:50:13 pm
Have you tried to change something to the file (even if it's only adding a single space) and then save it in Word.

That usually helps to compress the file size quite a bit.


Geert
Title: Re: Reduce size of generated document/see file size of image assets?
Post by: Hurra on March 29, 2021, 11:56:32 pm
I have not thought of that. Didn't know it was a thing  ;D

First I tried to generate as PDF.

Reduction in file size as PDF: 89%
Reduction in file size when adding a random space in Word and saving: 91%

Wow...

Thank you.