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 » Archive » DrawData and StoreImageAsString, how?
Re: DrawData and StoreImageAsString, how? [message #3681 is a reply to message #3675] Mon, 12 June 2006 18:19 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
fudadmin wrote on Mon, 12 June 2006 10:18

luzr wrote on Mon, 12 June 2006 14:41

Printer does not recognize any RLE, but that is not what we are sending. We are sending a lot of "DrawImage" and "DrawRect" operations.

Note that even series of "DrawImage" ops without detecting uniform areas can be advantage - because printer is often monochrome and host OS will use much smaller buffer for processing...

Mirek



I'm sending only one aggImg (already formed from agg ops) for one Drawing (via DrawingDraw for resizing).



Yes, I was afraid of that. Completely wrong. This way your only chance is to store extremely big Images (A4 page is 4000x6000 dots).

Instead, you should implement DataDrawer for recorded AGG drawing and return bands that can be converted and "RLE" compressed one by one.

BTW, perhaps it will help to understand the issue that DataDrawer implementation will repeatedly draw the "data" with changeing clipping (for individual bands).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Agg works with upp Ctrl's! - download and test the new package...
Next Topic: merged in yet
Goto Forum:
  


Current Time: Thu Mar 28 11:24:13 CET 2024

Total time taken to generate the page: 0.01274 seconds