image.IsFilled BMP with Paint or Paint.Net

Nov 23, 2011 at 12:53 PM
Edited Nov 23, 2011 at 1:10 PM

Hello,

I'm using ImageTools to import picture in a Silverlight software. It is working pretty well (PNG, JPEG, BMP), excluding importing BMP file from Paint.NET.

The same picture saved with Windows Paint is working, but saved with Paint.Net (http://www.getpaint.net/) got an exception (image.IsFilled == false).

Did somebody else experience that?

Seems to be because coded en 8 bits by default. In 24 bits it is working. Is BMP 8 bits not supported by ImageTools?

Thanks

Coordinator
Nov 25, 2011 at 9:20 AM

Hi,

Using 8 bits per pixel is supported, but there seems to be a bug. I will have a look.

Can you upload your sample picture?

Nov 28, 2011 at 7:00 AM

Hello,

This pict is problematic :

www.synergie-consulting.com/StarPaintDotNet8.bmp

All pict registred with Paint.NET in 8 bits are not working by my side.


See U

Coordinator
Nov 28, 2011 at 2:09 PM

Hi,

I uploaded a new version (see "Source Code"), that should work for you.

Nov 29, 2011 at 12:13 PM

Perfect, this is working.