[Openroad-users] Size limit?
Paul White
shift7solutions at gmail.com
Tue Nov 27 23:45:04 EST 2007
Thanks Kim,
Thats quite a bit more elegant than what I was thinking.
I had in mind a set of global constants of type bitmapobject, loaded at
startup.
Paul
-----Original Message-----
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com]On Behalf Of Kim Ginnerup
Sent: Friday, 23 November 2007 5:09 AM
To: International OpenROAD Users
Subject: Re: [Openroad-users] Size limit?
I found that you often have the same images in a lot of frames.
Like a toolbar.
I tried to change this.
I made a frame just consisting of a 2 column matrix first column was the
key the second column was the image.
I opened that frame at application startup and in the initialize section
the lifted all the keys and and image into a choicelist.
Then when a frame stated I let it look up the image from ths global
choicelist.
This reduced the image size significantly, because I now only had an image
once instead of a copy in every single frame.
The performance degration at frame startup was insignificant because a
choicelist lookup is very fast.
The positive side effect was that I could now change images in one single
place.
I later extended this to have images in different sizes in separate
columns.
Kim
----------------------------------------------------------------------------
--
Fra: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] På vegne af Paul White
Sendt: 22. november 2007 01:50
Til: International OpenROAD Users
Emne: Re: [Openroad-users] Size limit?
Yeah, I'd say there are a lot of embedded images and graphics on complex
forms.
118Mb image = {
3548 components in 51 applications.
Slightly over 1200 frames supported by around 2000 user classes and 250
4GL procs.
}
Is there an easy way I could estimate the graphics component without
running an exportapp of each application and parsing the output? (I havent
looked for some time so I think I might do it anyway)
----------------------------------------------------------------------------
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Kim Ginnerup
Sent: Tuesday, 20 November 2007 4:33 PM
To: International OpenROAD Users
Subject: Re: [Openroad-users] Size limit?
Do you have a lot of graphics on the forms?
I have an 8000 components application but it is 5.5mb.
The majority of components are not user frames but anyway.
Kim
----------------------------------------------------------------------------
Fra: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] På vegne af Andrew
Sendt: 16. november 2007 07:37
Til: International OpenROAD Users
Emne: Re: [Openroad-users] Size limit?
OK, so yours is bigger than mine - 79mb (about 4020 components in one
app - OR4.1).
Paul White wrote:
115 Mb works in OR41sp2 -----Original Message-----From:
openroad-users-bounces at peerlessit.com[mailto:openroad-users-bounces at peerless
it.com] On Behalf Of AndrewSent: Friday, 16 November 2007 3:08 PMTo:
International OpenROAD UsersSubject: [Openroad-users] Size limit? Hi All,
Friday question... Is there a limit to the size of an openroad imagefile?
Regards,Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20071127/8b403455/attachment.html
More information about the Openroad-users
mailing list