Revision 659016

Go back to digest for 6th May 2007

Bug Fixes in Graphics

Clarence Dang committed changes in /branches/KDE/3.5/kdegraphics/kolourpaint:

Fix scanning support:

* Pass scanned QImage through proper converter to QPixmap instead of through QPixmap::QPixmap(const QImage&)
- Split kpDocument::convertToPixmapAsLosslessAsPossible() out of kpDocument::getPixmapFromFile(), which wraps kpPixmapFX::convertToPixmapAsLosslessAsPossible() and returns meta information.
- Also make kpDocument::getPixmapFromFile() call removeTempFile() as quickly as possible, instead of being called from lots of return paths.

* Write meta info of scanned QImage to kpDocument

File Changes

Modified 3 files
  • /branches/KDE/3.5/kdegraphics/kolourpaint
  •   /kpdocument.cpp
  •   /kpdocument.h
  •   /kpmainwindow_file.cpp
3 files changed in total