Load, clean-up and save a tiff image
Load, clean-up and save a tiff image
Can you please show me how to load a tiff,clean-up the image (Deskew) and save it to disk? I cannot get the .NET version to do work correctly with the viewer and imaging object. Thanks in advance.
Re: Load, clean-up and save a tiff image
Hi,
There is a lot of 'clean-up' function within GdPicture.NET I suggest you to brows the reference guide to find what you exactly need.
Here a sample to deskew an image automatically.
Kind regards,
Loïc
There is a lot of 'clean-up' function within GdPicture.NET I suggest you to brows the reference guide to find what you exactly need.
Here a sample to deskew an image automatically.
Code: Select all
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim oGdPictureImaging As New GdPicture.GdPictureImaging
Dim ImageID As Integer
oGdPictureImaging.SetLicenseNumber("XXX")
ImageID = oGdPictureImaging.CreateGdPictureImageFromFile("")
oGdPictureImaging.AutoDeskew(ImageID)
oGdPictureImaging.SaveAsTIFF(ImageID, "c:\test.tif", TiffCompression.TiffCompressionCCITT4)
oGdPictureImaging.ReleaseGdPictureImage(ImageID)
End Sub
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest