Ctl fille size determinants


aceav8or

Recommended Posts

I've been trying to scale down the size of my control files so that they can be emailed but I can't seem to figure out what contributes the most to their size.. Can anyone provide examples from experience on what aspects of the ctl most greatly affected its size?

TIA

Link to comment
Share on other sites

The biggest thing that affects size is images, especially bitmap images (i.e. anything you paste into DAQFactory). They are stored uncompressed, and at the original size. They are also stored with each component. This means that if you paste a nice logo onto a page, and then copy that logo onto 10 other pages, its actually stored 11 times, all as uncompressed bitmap.

Link to comment
Share on other sites

Let me add: if you have a lot of bitmap images, you can reduce the file size by moving the images out of the .ctl document and using the loadJpeg() function of the symbol component to pull them in at runtime. It means you'll have to send multiple files, but the images will be compressed as jpeg's instead of bitmaps in the .ctl, and if you use the same image multiple times, you'll only need one copy.

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.