r20449 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Fri Oct 9 18:34:29 UTC 2015


Author: fschmid
Date: Fri Oct  9 18:34:29 2015
New Revision: 20449

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20449
Log:
Fixed wrong interpretation of image data.

Modified:
    trunk/Scribus/scribus/plugins/import/emf/importemf.cpp

Modified: trunk/Scribus/scribus/plugins/import/emf/importemf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20449&path=/trunk/Scribus/scribus/plugins/import/emf/importemf.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/emf/importemf.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/emf/importemf.cpp	Fri Oct  9 18:34:29 2015
@@ -3046,7 +3046,7 @@
 					for (qint32 xx = 0; xx < hWidth; xx++)
 					{
 						quint8 r, g, b, a;
-						dsB >> a >> b >> g >> r;
+						dsB >> b >> g >> r >> a;
 						*dst = qRgba(r, g, b, 255);
 						dst++;
 					}




More information about the scribus-commit mailing list