Remove blank lines from the faxed image
Visual Basic |
---|
Public Sub FaxRemoveBlankLines() |
Communication errors during Fax transmission might result in white horizontal lines inserted in the output image. This method deletes such lines.
Method requires bi-tonal image (object.Image.BitsPerPixel = 1).
Sub RepairFaxMethods(imageFile As String, imageFileOut As String) ' Create objects and open input images Dim Ci As New CiServer Dim Repair As CiRepair: Set Repair = Ci.CreateRepair Repair.Image.Open imageFile ' Do Processing Repair.FaxStandardToFine Repair.FaxRemoveHeader Repair.FaxRemoveBlankLines Repair.Image.SaveAs imageFileOut, ciEXT End Sub