$ 0 0 I have checked that by using ToBitmap(ImageFormat.Bmp).It gives me error for some images, i.e. "MagicK: unable to decode image file".