Re: "Named Resource" question

From: Sam (samh_at_invomax.com)
Date: 12/08/03


Date: Sun, 7 Dec 2003 17:26:26 -0800

Hello,

Please don't worry about it. I appreciate the help. I went through my app
to identify all the redundant usage of bitmaps. Some were being used in
LMDShapeButtons as glyphs and some are used in TImage components. One of
the bitmaps was used up to 8 times within the app. I put the 12 most
repeated bitmaps in a TLMDBitmapList and then either loaded them to the
images at runtime by referring to the bitmaplist or else linked the
LMDShapeButton components to the bitmaplist at designtime. I absolutely
increased the app speed and increased the app available resources by about
2%. Are you saying this result was probably all due to some built in
efficiency of the LMDShapeButtons linking to the TLMDBitmapList rather than
runtime loading of the TImage components?

For what it's worth I only have 1 custom cursor loaded in the app.

Regards
Sam



Relevant Pages

  • Out of Memory Exception
    ... I have an app that's dealing with a few hundred bitmap thumbnails. ... I only instantiate the bitmaps that are visible at a given time and dispose ... assume is coming from some sort of GDI resource issue. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Uniting two bitmaps
    ... bitmaps to be combined is a rather intrinsic process. ... a bitmap not its physical border? ... Once again I describe the situation to be solved in my app: ... There are two bitmaps the same height placed next to each other at the ...
    (microsoft.public.dotnet.framework.drawing)
  • 24-bit bitmap with transparency on a button. How to?
    ... I have to freshen up a UI on an app that I wrote few years ago. ... to put 24-bit and 32-bit images on toolbars. ... I then moved to buttons with bitmaps and got stuck. ... Initially I thought that I could use custom draw when the app is run on XP ...
    (microsoft.public.vc.mfc)
  • Re: Out of Memory Exception
    ... Question is how large are the bitmaps? ... >I have an app that's dealing with a few hundred bitmap thumbnails. ... > situations where painting would happen outside of the control, where GDI ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: "Named Resource" question
    ... >to identify all the redundant usage of bitmaps. ... >LMDShapeButtons as glyphs and some are used in TImage components. ... The physical bitmap resource only ...
    (borland.public.delphi.language.objectpascal)