|
|
|
@ -1531,12 +1531,12 @@ static bool convert_32_to_8( const QImage *src, QImage *dst, int conversion_flag
|
|
|
|
|
int* line2[3];
|
|
|
|
|
int* pv[3];
|
|
|
|
|
if ( ( conversion_flags & Qt::Dither_Mask ) == Qt::DiffuseDither ) {
|
|
|
|
|
line1[0] = new int[src->width()];
|
|
|
|
|
line2[0] = new int[src->width()];
|
|
|
|
|
line1[1] = new int[src->width()];
|
|
|
|
|
line2[1] = new int[src->width()];
|
|
|
|
|
line1[2] = new int[src->width()];
|
|
|
|
|
line2[2] = new int[src->width()];
|
|
|
|
|
line1[0] = new int[sw];
|
|
|
|
|
line2[0] = new int[sw];
|
|
|
|
|
line1[1] = new int[sw];
|
|
|
|
|
line2[1] = new int[sw];
|
|
|
|
|
line1[2] = new int[sw];
|
|
|
|
|
line2[2] = new int[sw];
|
|
|
|
|
pv[0] = new int[sw];
|
|
|
|
|
pv[1] = new int[sw];
|
|
|
|
|
pv[2] = new int[sw];
|
|
|
|
|