Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Optimized storage of 1BPP images
Re: Optimized storage of 1BPP images [message #14039 is a reply to message #14038] Thu, 07 February 2008 15:16 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Quote:


Images are 1728 x 2210 pixels per page, with often tenths of pages... in RGBA mode they're really too big to buffer.


In this case, it would be about 14MB of RAM. Not that much for graphics application. Plus with the method I proposed, you would need another maximum 10 MB for huge resolutions.

Anyway, loading the whole image in RAM is anyway unavoidable IMO, so I would concentrate on performance. In my control, with a zoom level of maximum 800% and huge vectorial images which must be rendered to a buffer, the image size can quickly get out of hand, so I really don't mind 25MB of used RAM.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: High Performance Drawing
Next Topic: Draw stuff [SOLVED]
Goto Forum:
  


Current Time: Wed May 08 20:51:27 CEST 2024

Total time taken to generate the page: 0.01223 seconds