[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/ui
From:       Adrian Page <adrian () pagenet ! plus ! com>
Date:       2006-01-31 21:59:29
Message-ID: 1138744769.609031.368.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 504375 by page:

Don't use the image profile as the output profile when rendering the preview PNG as \
that causes lcms to abort when saving e.g. a greyscale image.


 M  +1 -1      kis_doc.cc  


--- trunk/koffice/krita/ui/kis_doc.cc #504374:504375
@@ -714,7 +714,7 @@
             
             QPixmap * pix = new QPixmap(m_currentImage -> width(), m_currentImage -> \
height());  QPainter gc(pix);
-            m_currentImage -> renderToPainter(0, 0, m_currentImage -> width(), \
m_currentImage -> height(), gc, m_currentImage -> getProfile(), +            \
m_currentImage -> renderToPainter(0, 0, m_currentImage -> width(), m_currentImage -> \
                height(), gc, 0,
                                               KisImage::PAINT_IMAGE_ONLY);
             gc.end();
             QImage composite = pix -> convertToImage();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic