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 » Community » Newbie corner » Displaying raw image data
Re: Displaying raw image data [message #39778 is a reply to message #39738] Fri, 26 April 2013 08:37 Go to previous messageGo to previous message
keltor is currently offline  keltor
Messages: 73
Registered: February 2012
Member
Well, it seems that this solution does not work completely. Image expects a RGBA*, while I have an unsigned char*. Force-casting does not work (naturally), the image just displays some garbage.

Does anyone know an efficient way to solve this? Perhaps how to create a RawEncoder, similar to the existing JPEGEncoder?

Thank you,

Keltor
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: compiling with MSC 10
Next Topic: ScatterCtrl / ScatterDraw - ShowLegend() problem and general Question
Goto Forum:
  


Current Time: Sun Aug 24 22:54:05 CEST 2025

Total time taken to generate the page: 0.11381 seconds