Could not find any resources appropriate for the specified culture (or the neutral culture) on disk.
baseName: PaintDotNet.Strings.3 locationInfo: fileName: PaintDotNet.Strings.3.resources
exeption occurs in this line of code:
BmpFileType bmpFile = new BmpFileType();
BmpFileType bmpFile = new BmpFileType();
Document document;
Stream imageStream = null;
imageStream = new FileStream( @"C:/1.jpg", FileMode.Open );
BmpFileType bmpFile = new BmpFileType();
document = bmpFile.Load( imageStream );
imageStream.Close();
Surface imageSurface = new Surface( document.Size );
my goal is to create Surface from BMP, JPG and/or any other format.
thanks a lot.