VintasoftImage Constructor(String,Boolean)
Initializes a new instance of the
VintasoftImage class.
Supported image formats: BMP, DICOM, DOCX, XLSX, EMF, GIF, Icon, JBIG2, JPEG, JPEG-LS, JPEG2000, PCX, PDF, PNG, RAW, TIFF, WMF.
This C#/VB.NET code shows how to load image from file (file will be opened in read only mode, file stream will be closed when image is disposed).
Dim filepath As String = "D:\Example.tiff"
' create an image from file (file will be opened in read only mode,
' file stream will be closed when image is disposed)
' ...
Using image As New Vintasoft.Imaging.VintasoftImage(filepath, True)
End Using
string filepath = @"D:\Example.tiff";
// create an image from file (file will be opened in read only mode,
// file stream will be closed when image is disposed)
using (Vintasoft.Imaging.VintasoftImage image =
new Vintasoft.Imaging.VintasoftImage(filepath, true))
{
// ...
}
Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5