Summary: | Scanned Images in Kde and Kword | ||
---|---|---|---|
Product: | kword | Reporter: | Horst Simon <hsimon> |
Component: | general | Assignee: | Thomas Zander <zander> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nicolasg |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: |
Description
Horst Simon
2001-08-07 04:04:43 UTC
In Kword 1.1 beta3 the image is displayed but it prints as a blank page update KOffice to 1.1(RC1) the image is displayed correct and it prints in reverse black background and text in white. Regards Horst Simon -- E-Mail: hsimon@ico.nec.com.au Tel: (03) 9271-4641 Fax: (03) 9264-3075 This message was sent by KMail 1.3 Using KDE 2.2beta1 & SuSE Linux 7.2 The problem with negative images still exist in Kword 1.2.1 in KDE 3.1. KView shows the same problem and Matthias Kretz will correct it in KView and he supplied me with following information: If you want to report bugs to other programs using Qt tell 'em the following: QImage -> QPixmap conversion defaults to keeping 1 Bit images monochrome. Making the conversion with the the ColorOnly flag makes them show correctly. Subject: koffice/lib/kofficecore CVS commit by goutte: Do not show monochrome images (color-) reversed CCMAIL:30357-close@bugs.kde.org CCMAIL:52725@bugs.kde.org M +2 -2 koPictureImage.cc 1.20 --- koffice/lib/kofficecore/koPictureImage.cc #1.19:1.20 @@ -79,10 +79,10 @@ void KoPictureImage::scaleAndCreatePixma if ( fastMode ) { - m_cachedPixmap = m_originalImage.scale( size ); + m_cachedPixmap.convertFromImage(m_originalImage.scale( size ), QPixmap::Color); // Always color or else B/W can be reversed m_cacheIsInFastMode=true; } else { - m_cachedPixmap = m_originalImage.smoothScale( size ); + m_cachedPixmap.convertFromImage(m_originalImage.smoothScale( size ), QPixmap::Color); // Always color or else B/W can be reversed m_cacheIsInFastMode=false; } |