Skip to content
Permalink
Browse files
Save memory in raster rendering
  • Loading branch information
mhugent committed May 5, 2012
1 parent 530bdfc commit 0bf56ab225789dacbd0e7a6523486eda2b054d67
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayer.cpp
@@ -4940,7 +4940,7 @@ bool QgsRasterImageBuffer::createNextPartImage()
//create the QImage
if ( mWritingEnabled )
{
mCurrentImage = new QImage( xSize, ySize, QImage::Format_ARGB32 );
mCurrentImage = new QImage( xSize, rasterYSize, QImage::Format_ARGB32 );
mCurrentImage->fill( qRgba( 255, 255, 255, 0 ) );
}
else

3 comments on commit 0bf56ab

@NathanW2

This comment has been minimized.

Copy link
Member

@NathanW2 NathanW2 replied May 6, 2012

Do you think this will help with http://hub.qgis.org/issues/4504

@mhugent

This comment has been minimized.

Copy link
Contributor Author

@mhugent mhugent replied May 6, 2012

@NathanW2

This comment has been minimized.

Copy link
Member

@NathanW2 NathanW2 replied May 6, 2012

Well if the printing of ecws was a memory issue then I'm sure this will help.

Please sign in to comment.