convert

  • 15 Mar

    Converting images to pdf with limagito file mover

    Converting images to pdf with limagito file mover

    In Limagito File Mover v2025.2.16.0 we added the Imageen PDF plug-in. This makes it possible to use our Image as destination and convert images to pdf. The setup is very simple.

    • We used a Windows folder as Source:

    limagito file mover windows folder as source

    • We used the following Filename Inlcude Filter, only interested in jpg and tiff files:

    limagito file mover filename filter setup

    • As Destination we used IMAGE:

    limagito file mover destination setup

    • IMAGE as Destination Setup:
      • First Action is ‘Geomatric Manipulation’ because we want tor rotate the image first
      • Second Action is ‘Output to File’

    limagito file mover image manuplation as destination setup

    • Geometric Manipulation:

    limagito file mover image rotation as destination setup

    • Output to File:

    limagito file mover image output to file

    • The converting to pdf is done using our File Rename option. The engine will know what to do if it finds a different file extension as destination.

    RegEx:  (.*)\.(.*)

    Replacement:  \1.pdf

    FYI: You can adjust the Replacement setup to convert to other image formats too, like png:  \1.png

    limagito fil emover image as destination renaming setup

    • RunTime Log Result:

    limagito file mover runtime log result

    If you need any help with this “images to pdf” option, please let us know.

    Best Regards,

    Limagito Team

    #PDF #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Image PDF , ,
  • 20 Apr

    How to convert an email to pdf using Limagito File Mover

    How to convert an email to pdf using Limagito File Mover

    Q: Is it feasible for us to convert mail, which is the source in the rule, to PDF?

    A: In version v2024.4.14.0 we added an option in the IMAP as Source to achieve this.

    • Please select IMAP as Source:

    limagito file mover imap as source

    • Adjust your IMAP Setup
      • Please use our second API Vendor: Vendor 2 – CK
      • Enable ‘Save html text body to file’ AND ‘Save as PDF instead of HTML text’

    limagito file mover IMAP html to pdf

    • As Destination we used a Windows folder:

    Windows folder as destination

    • Result example in Destination: ‘MSG20240415153004_Feature Request.pdf’

    limagito file mover convert an email to pdf

     

    If you need any help with our new ‘convert an email to pdf’ feature, please let us know. This is a new option and will need some tweaking from our side, feedback would be much welcome.

    Best Regards,

    Limagito Team

    #imap #pdf #managedfiletransfer #FileManagement #filetransfer

     

     

    By Limagito-Team IMAP4 PDF , ,
  • 17 Jul

    Convert character set of text file

    Q: Convert character set of text file. I think I need some help here. We connect to a SFTP-server and download 3 files. One of these are a UTF-8 file named Vyymmdd.Thhmmss (i.e. V220627.TT110759). We need to download all 3 files, and convert the UTF-8 file to ISO-8859-1. I have found this article: https://limagito.com/text-character-encoding-conversion/

    And edited like this : psChangeTxtEncodingExt(psFilePath + psFileName, ctOutputpath + psFileName, 65001, 28591, True)

    Runtime Log says the file was successfully converted. But if I open the file in Notepad++ and click the “Encoding” option on the menu, it highlights UTF-8.

    A: In version v2022.7.17.0 we added some extra functions to help you convert the character set of  text files:

    Function psChangeTxtEncodingCk(Source, Destination: String; SrcCharset, DstCharset: String; WriteBOM: Boolean; ErrorAction: Integer): Boolean;

    Do not use this function when Source and Destination file are the same, use psChangeTxtEncodingCkExt instead.

    • ErrorAction: Controls how errors are handled. When a character in the input data cannot be converted to the target charset, the action taken is controlled by this property.
      The possible settings are:
      (0) drop the error characters,
      (1) substitute the data set by a ?
      (2) convert to a hex-escaped string (&#xXXXX)
      (3) RESERVED
      (4) RESERVED
      (5) RESERVED
      (6) RESERVED
      (7) Pass non-convertible characters to the output unchanged.
    • The Source and Destination Charset can be any of the supported encodings listed at Chilkat Supported Character Encodings.

    Function psChangeTxtEncodingCkExt(Source, Destination: String; SrcCharset, DstCharset: String; WriteBOM, WriteFileIfModified: Boolean): String;

      • WriteFileIfModified: writes the contents to a file, but only if it is a new file or if the contents are different than the existing file.
      • WriteBOM: the BOM (also known as a preamble), is emitted for charsets that define a BOM (such as utf-8, utf-16, utf-32, etc.)
      • The Source and Destination Charset can be any of the supported encodings listed at Chilkat Supported Character Encodings.

    #Filetransfer #Filemanagement #Encoding

    If you need any info about this ‘Convert character set’ question, please let us know.

    Best regards,

    Limagito Team

1 2
SEARCH