Hi Bruce. --- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > I have found FreeImage which from the docs seems to be exacly what I > am looking for. The libpng stuff is too low level for what I want.
Nice. Would that also provide full PNG-transparency with alpha- channel? > On caching: how many different bitmap file names do you use? Right > now, the cache can hold up to 32. If I count all the BMPs in my current skin I get 56. This includes all button-bitmaps with mouseover/mousedown-states of course. I reckon they are cached in the same way as bar-backgrounds? Also some bars are not loaded at startup, but loaded on demand. BTW: Could the limited cache be the reason, why an updated file of the same name showed correctly at some point for me? Did I reach that limit there somehow? What happens if I constanly load unique filenames? Are the cached ones kicked out then one by one or does caching just stop? > Right now, all bitmaps are pre-loaded into a shared pool. I also am > wondering whether it might be simpler to just to give up on pre- > loading and caching and read the file each time the image is > needed. That happens right now for icons in some circumstances and > does not seem to cause a performance issue when it does. Could be. Maybe give it a try... Mockey Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
