Quantcast
Channel: WriteableBitmapEx
Viewing all articles
Browse latest Browse all 360

Closed Issue: Color incorrect on loaded bitmap [19360]

$
0
0
I loaded a png file (4096x2800) and display it in an image control but the colors are incorrect; Blue's appear as brown etc.

I have loaded the same png file into a BitmapImage and then display in the image control and the color is correct.

I've used the latest downloadable binaries and compiled the latest sourcecode but the results are the same.

Visual Studio 2012 on Windows 8 project for WinRT
Comments: Just tried it with your Normal.png image using the below snippet where Normal.png is part of the project as Build Action = Content.
Works fine.

...
var imageUri = new Uri(BaseUri, "///Normal.png");
var bmp = await BitmapFactory.New(1, 1).FromContent(imageUri);
Img.Source = bmp;
...

Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>