- Offizieller Beitrag
ZitatI am using an image in some of my templates as a 'letter head' type image. It's set as a linked image. Without an image the
document is roughly 3k. But when I link a 21k jpg into the document, the
document size jumps to 100k. Is there a way to keep this size down? I may be pulling 40-50 or more of these reports at a time and 100k each adds up pretty quick.
Using a linked image is good to reduce the size of the document but here it seems so that the image was not linked. The size should be only some 100 bytes for the object place holder. Please check the setting for the property WriteObjectMode if it is set to 'both' or 'rtf'. It should be set to 'standard' for smallest files.
Please note that linked images use the property 'StreamName' and not 'FileName' as reference to the image. The image is loaded from the same path as the document or provided in the even OnTextObjectLoadStream.
Julian