imagehandlingutilities/thumbnailmanager/plugins/image/src/thumbnailimageprovider.cpp
--- a/imagehandlingutilities/thumbnailmanager/plugins/image/src/thumbnailimageprovider.cpp Mon May 03 12:48:51 2010 +0300
+++ b/imagehandlingutilities/thumbnailmanager/plugins/image/src/thumbnailimageprovider.cpp Fri May 14 16:10:12 2010 +0300
@@ -94,6 +94,16 @@
//set default mode displaymode from global constants
iDisplayMode = KStoreDisplayMode;
+ if ( KJpegMime() != iMimeType.Des8() )
+ {
+ iDisplayMode = EColor16M;
+ }
+
+//TODO currently only ARM platforms supports MAP mode
+#if !(defined(__CC_ARM) || defined(__ARMCC__))
+ iDisplayMode = EColor16M;
+#endif
+
iImageDecoder->CreateL( aFile, *iObserver, iQualityPreference, iMimeType, iTargetSize );
iOriginalSize = iImageDecoder->OriginalSize();
iImageDecoder->DecodeL( iDisplayMode, iFlags );
@@ -122,7 +132,16 @@
iQualityPreference = aQualityPreference;
//set default mode displaymode from global constants
iDisplayMode = KStoreDisplayMode;
-
+ if ( KJpegMime() != iMimeType.Des8() )
+ {
+ iDisplayMode = EColor16M;
+ }
+
+//TODO currently only ARM platforms supports MAP mode
+#if !(defined(__CC_ARM) || defined(__ARMCC__))
+ iDisplayMode = EColor16M;
+#endif
+
iImageDecoder->CreateL( aBuffer, *iObserver, iQualityPreference, iMimeType, iTargetSize );
iOriginalSize = iImageDecoder->OriginalSize();
iImageDecoder->DecodeL( iDisplayMode, iFlags );