r21457 by jghali - #14303: wrong size of some bitmap images when importing a PDF

scribus-commit scribus-commit at lists.scribus.net
Wed Oct 5 18:00:04 UTC 2016


Author: jghali
Date: Wed Oct  5 18:00:04 2016
New Revision: 21457

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21457
Log:
#14303: wrong size of some bitmap images when importing a PDF

Modified:
    trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp

Modified: trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21457&path=/trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp	Wed Oct  5 18:00:04 2016
@@ -2576,6 +2576,8 @@
 			tempFile->close();
 			ite->isInlineImage = true;
 			ite->isTempFile = true;
+			ite->AspectRatio = false;
+			ite->ScaleType   = false;
 			res.save(fileName, "PNG");
 			m_doc->loadPict(fileName, ite);
 		//	ite->setImageScalingMode(false, false);
@@ -2723,6 +2725,8 @@
 			tempFile->close();
 			ite->isInlineImage = true;
 			ite->isTempFile = true;
+			ite->AspectRatio = false;
+			ite->ScaleType   = false;
 			res.save(fileName, "PNG");
 			m_doc->loadPict(fileName, ite);
 		//	ite->setImageScalingMode(false, false);




More information about the scribus-commit mailing list