This project is read-only.

image.IsFilled BMP with Paint or Paint.Net

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


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 ( 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?


Nov 25, 2011 at 10:20 AM


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 8:00 AM


This pict is problematic :

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

See U

Nov 28, 2011 at 3:09 PM


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

Nov 29, 2011 at 1:13 PM

Perfect, this is working.