Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi all!

Few notes about optimizing files that are loaded into RAM at startup
LibreOffice.

1. Icons of executable files contain extra pictures the size of 128 by 128
pixels. Desktop environment of operating systems Windows XP-7 don’t need
these pictures. Best appearance requires that icons contain pictures size 20
at 20 pixels (for Windows XP: 120% or 120 dpi) and 24 on 24 pixel (for
Windows 7: 150% or 144 dpi). Changing these resources reduces the size of
executable files from 50 to 40 kilobytes.

2. The file “soffice.bin” is loaded into RAM, but serves an additional
function: it shows the file icons in Explorer. Propose to entrust this
function to an additional file "loicons.dll" which will not be loaded into
RAM when running LibreOffice. This solution makes it possible to compile
file "soffice.bin" only with the necessary icons and reduces the file size
from 680 to 96 kilobytes.

3. The Windows operating system does not assign icons of text documents,
spreadsheets, presentations or databases. This makes the program that opens
files. Icons for ODF files and Microsoft’s documents appear identically
because of this reason. File size "soffice.bin" will grow, if you eliminate
this problem. Consequently, program’s startup time will increase too. It's
not going to happen, if the program will have a separate library of icons
(loicons.dll) for Windows Explorer.

I don't know programming and use the resource editor for this purpose. Files
(LibO-3.7.0_alpha+) that allow you to check my notes are attached. I can
explain the purpose of each of the icons contained in the files, and publish
all PNG images here, if someone will fix the code.
--
ape




--
View this message in context: 
http://nabble.documentfoundation.org/Few-notes-about-optimizing-files-Windows-OS-tp4002255.html
Sent from the Dev mailing list archive at Nabble.com.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.