[Openroad-users] Size limit?

Kim Ginnerup kgi at bording.dk
Fri Nov 23 06:08:37 EST 2007


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 peerlessit.com>

[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Andrew

Sent: Friday, 16 November 2007 3:08 PM

To: International OpenROAD Users

Subject: [Openroad-users] Size limit?



Hi All,



Friday question...  Is there a limit to the size of an openroad image

file?



Regards,

Andrew




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20071122/83c683c4/attachment-0001.html 


More information about the Openroad-users mailing list