Started by velasquez ·
2014-10-22 22:47 UTC ·
3 replies · SMF topic #2183
velasquez
2014-10-22 22:47 UTC
I'm working on a project with a lot of pictures.
My question is to store all these images in .odcl file that is too complex or work with images outside the file.
Has anyone done comparisons and has an opinion on the most efficient method?
Thanks
owenwengerd
2014-10-23 03:40 UTC
I think it would depend on how they are used. If you use every image every time, then it should be more efficient to load them all at once from the .odcl file. On the other hand, if you don't always use all the images, it may be more efficient to load them on demand from a separate file so that unused images do not require any resources.
fred_tomke
2014-11-12 18:53 UTC
Hi, vela, had no time to answer yer, but I wanna give to a hint of my experiences:
I usually add icons 16x16 to 32x32 into the internal picturefolder or to the control's picturelist.
Other images I put into an image folder beside the prg-folder and I load them at runtime.
That keeps the OpenDCL project file small and fast. It is my experience when I was programming OpenDCL and Lisp apps.
Regards, Fred
velasquez
2014-11-12 22:13 UTC
author=Fred Tomke link=topic=2183.msg11001#msg11001 date=1415818416 wrote:
Hi, vela, had no time to answer yer, but I wanna give to a hint of my experiences:
I usually add icons 16x16 to 32x32 into the internal picturefolder or to the control's picturelist.
Other images I put into an image folder beside the prg-folder and I load them at runtime.
That keeps the OpenDCL project file small and fast. It is my experience when I was programming OpenDCL and Lisp apps.
Regards, Fred
Thank you Fred,
I'm following this path.
Regards, Velasquez