From 8653d7fa608b57e2c4f3d87edc337893302bfde7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 3 Jun 2007 22:14:32 +0000 Subject: [PATCH] added colour normalization to PNM handler [backport from HEAD] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 4 ++++ src/common/imagpnm.cpp | 18 ++++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 09b0140a6b..dfdd0de66b 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -91,6 +91,10 @@ Major new features in 2.8 release 2.8.5 ----- +All (GUI): + +- Added colour normalization to PNM image handler (Ray Johnston) + wxMSW: - Fix crash when destroying a default button (Tim Kosse) diff --git a/src/common/imagpnm.cpp b/src/common/imagpnm.cpp index 4c1a6205c9..85fbdc08a9 100644 --- a/src/common/imagpnm.cpp +++ b/src/common/imagpnm.cpp @@ -96,6 +96,8 @@ bool wxPNMHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose for (wxUint32 i=0; iSetMask( false );