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 » Draw::DrawImageOp optimization bug
Re: Draw::DrawImageOp optimization bug [message #19353 is a reply to message #19352] Fri, 28 November 2008 13:27 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
rylek wrote on Fri, 28 November 2008 07:15

Hi there!

The 2000 x 2000 block limitation is a problematic old hack I used long ago when I had trouble with GDI processing larger areas at once.



Actually, I am afraid you are not up-to-date about this one...

This is not the "old Image code" (although it can fix the same problem as byproduct).

Current DrawImage really does something new, the RLE compression. Also, but splitting the process to bands, it should help with memory consumption - e.g. imagine printing some documentation from RichText, where screenshots are usually rescaled to much bigger size. Banding pushes them in bands, means we do not need the memory for the "big" results.

And more, "RLE compression" (detecting uniform color blocks) has the potential to reduce the memory footprint even in the printer.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extensions to Draw...Ops
Next Topic: Compile package with iml file problem!
Goto Forum:
  


Current Time: Tue May 21 19:26:11 CEST 2024

Total time taken to generate the page: 0.01412 seconds