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 » RichText,QTF,RTF... » Loading Image into qtf
Re: Loading Image into qtf [message #11237 is a reply to message #11230] Tue, 28 August 2007 16:31 Go to previous message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
dmcgeoch wrote on Tue, 28 August 2007 12:58

Hi,

I had a similiar problem when I was working with images stored in a database. What I ended up doing was using the Encode64 and Decode64 funtions on the string. Apparently there are characters in the string generated by the Image.ToString() command that are not stored properly.

Dave


I was considering that too, when couldn't figure out the BLOB stuff. But I learned from googling this adds a 30% overhead, so I tried harder.
I'm using the sqlite3 C-API directly, because I find that easier and know I am never going to need a "real" client/server database.
sqlite3 encodes BLOBS with a mere 1% overhead. I finally figured out how it works, so I'm using that now.

Guido
 
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: Rendering qtf into a window: horrible flicker
Next Topic: Failed to set String format in report from SQLite3
Goto Forum:
  


Current Time: Wed May 15 23:58:55 CEST 2024

Total time taken to generate the page: 0.03349 seconds