Remove header from faxed image
Visual Basic |
---|
Public Sub FaxRemoveHeader() |
Fax machines often insert a header on the top of the output image. This method deletes this Fax header.
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