From 57beadd2b7a8641a783cb7b30c3d4a73f5b07050 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 3 Jun 2007 22:09:51 +0000 Subject: [PATCH] added raw RGB support and colour normalization to PNM handler git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46309 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 693a723630..128ff14de1 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -156,6 +156,10 @@ wxX11: 2.8.5 ----- +All (GUI): + +- Added raw RGB support and colour normalization to PNM handler (Ray Johnston) + wxMSW: - Correct problem with page setup dialog when using landscape mode 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 ); -- 2.45.2