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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » RasterEncoder::WriteLineRaw
RasterEncoder::WriteLineRaw [message #6283] Sun, 05 November 2006 20:29 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
RasterEncoder interface was changed to allow non-RGBA data output.

Format conversions are now performed by RasterEncoder base class.

Mirek
Re: RasterEncoder::WriteLineRaw [message #6390 is a reply to message #6283] Fri, 10 November 2006 10:50 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Ooops, just found and fixed a serious bug in this new feature....

Anybody having problems with some Image operations:

void ImageEncoder::WriteLineRaw(const byte *data)
{
	if((RGBA *)data != ~*this)
		memcpy(~*this, data, GetSize().cx * sizeof(RGBA));
	if(++ii < GetHeight())
		SetLine(ib[ii]);
}


Mirek
Previous Topic: Added support for BI_RLE8 and BI_RLE4 BMP modes
Next Topic: GetExeDirFile, GetExeFilePath now implemented in POSIX
Goto Forum:
  


Current Time: Sat May 04 01:51:55 CEST 2024

Total time taken to generate the page: 0.02870 seconds