realbasic-nug
[Top] [All Lists]

Re: Reduce size of final build

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Reduce size of final build
From: Phil M <phil at mobleybros dot com>
Date: Tue, 31 May 2005 10:19:34 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <1147 dot 61 dot 17 dot 217 dot 100 dot 1117521742 dot squirrel at newtok dot com> <a4c8261305053100042f49897c at mail dot gmail dot com> <1299 dot 61 dot 17 dot 217 dot 100 dot 1117525937 dot squirrel at newtok dot com>
On May 31, 2005, at 9:52 AM, Saji Viswam wrote:

I want to reduce the size without zipping. By any settings in RB IDE
itself or by changing the structure of the program.

Not really. The size of the executable includes all of the required libraries (like DLLs) so that your program will work on any system that meets the minimum requirements. For the most part you will be able to just copy the built executable to a clean install of the Windows 98 or higher operating system (some features may have a requirement of Quicktime installed, and some features have other minimum system requirements).

Any picture resources you include in your project are compiled as uncompressed BMP data (Windows and Linux) even if you added them into the project as GIF or JPG. This can represent a significant portion of the compiled application size if you use a lot of graphics. There are a few tricks that you can use to prevent the graphics from being converted to BMP, but that would require more work and require that you load the graphics from disk at the start of your program (or when needed). In otherwords, they will not be automatically available like internal compiled graphics currently are.

There were a few discussions recently about how to package up the graphics so that they do not get converted to BMP. Here is the most recent thread:

http://support.realsoftware.com/listarchives/realbasic-nug/2005-05/ msg03075.html

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>