I am currently loading an image from a path in a Bitmap object. But I get the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
In this line:
Dim myBitmap As Bitmap = New Bitmap(paginasFolder)
myBitmap.SetResolution(300, 300)
myBitmap.Save(strReplaceName & tercero & "m.tif", tiffEncoder, eps)
myBitmap.Dispose()
any suggestions?