Image

  • 13 Jul

    How to convert images to pdf files

    How to convert images to pdf files

    Convertings images to pdf (or to another image format) is achieved using our file renaming option in the Image destination setup. The file mover engine knows what to do because it knows the file extension from the source and destination file.

    A good idea is start with the following blog article: Converting images to pdf with limagito file mover

    We received the following question from a customer:

    I follow your step about image to pdf process and it works prefectly. I m curious about how to resize the photo as smeller one or compress the PDF in a smaller file in the result.

    In version v2025.7.13.0 we added a “IO Parameters PDF” option:

    In our example we added the following three actions:

    • IO Parameters PDF > adjust PDF compression (an other options)
    • IO Parameters > adjust JPEG compression parameters
    • Output to File

    limagito file mover image as destination option

    • IO Params PDF
      • Compression: adjusted the compression to JPEG instead of uncompressed
      • Paper Layout:
        • Portrait (default)
        • Landscape
      • Paper Size:
        • A0, A1, A2, A3, A4, A5, A6, B5
        • Letter, Legal, Ledger, Tabloid
        • Auto
          • If selected then the output will be the size of the image which may create huge PDF pages
        • Custom
          • Will use Paper Height and Width value
          • Specifies the height and width of the output in Adobe PDF points (1 point = 1/72 of inch). Default values are width: 595 and height: 842 (A4 format).
      • Page Margin
        • Specifies the size of margins (blank area) on all sides of the output when saving to PDF.
        • Value is in Adobe PDF points (1 point = 1/72 of inch), e.g. 72 would be 1 inch margins.
      • Image Options, by default all images are scaled and not centered
        • Shrink Only: If not specified, all images will be made to fill the entire output. If specified, only large images are shrunk. Small images are not enlarged
        • Centered: Specifies that the image will be centered within the output

    limagito file mover images to pdf files

    • IO Params
      • We adjusted the JPEG Quality factor to 90%

    limagito file mover pdf as destination setup

    • Output to File:
      • Adjusted output directory:

    limagito file mover pdf as destination setup

    • The image conversion is done using the File Rename option. Adjusting the destination file extension is the trigger we need to do the conversion. In this case we are converting all source files to pdf but othe destination image types are possible.

    limagito file mover images to pdf files

    If you need any help with this “images to pdf files” option, please let us know. Also if you need any specific image to convert or extra option let us know.

    Best Regards,

    Limagito Team

    #PDF #managedfiletransfer #filetransfer #filemanagement

  • 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 , ,
  • 26 May

    Image and sidecar xml workflow question

    Q: We have a new process that backs up and then moves an image file and sidecar xml file into an input directory [folder A] for our automated photo toning software.
    The xml file contains instructions for cropping and has the same name as the image file with the exception of their file extensions, for example 230519_511627666.xml and 230519_511627666.jpg.
    The photo toning software ingests both the .xml and .jpg and attempts to tone the image, but if the .jpg fails it is output to an error folder [B] without being cropped and toned.
    We pick up the errored .jpg from folder B, resize it with other software and drop it to another folder [C].
    We need to then move the .jpg from folder C back to input folder A to try it again, but it requires its corresponding .xml file which can be found in the backup folder [D] be dropped alongside it again to process and tone.
    Is it possible with a Limagito rule to monitor source folder C and if an image file is found, grab the .xml file of the same name from folder D, then drop them both to folder A?
    Hope that makes sense! Thanks, David

    A: Yes, should be possible. We’ll prepare a script for this asap.

    • We created the following directory structure for the test of the script:

    Image and sidecar xml

    • Source is the C folder (resized files):

    Limagito file mover windows as source

    • Filename Include Filter, we only want to scan for jpg files:

    limagito file mover filename include filter

    • Enable and add ‘On Destination’ Pascal Script:

    limagito file mover pascal script

    • Don’t forget to adjust the Path const values:
    var
      tmpFilename: String;
    Const
      // Path must end with a \
      ctBackupPath = 'C:\Test\AJC\D\';
      ctDestinationPath = 'C:\Test\AJC\A\';
    Begin
      psExitCode:= 0;
      tmpFilename := ChangeFileExt(psFileName, '.xml');
      If FileExists(ctBackupPath + tmpFilename) Then
      Begin
        If psCopyFile(ctBackupPath + tmpFilename, ctDestinationPath + tmpFilename, False) Then
        Begin
           psExitCode:= 1;
           psLogWrite(1, '', 'Copy file success of ' + ctBackupPath + tmpFilename + ' to ' + ctDestinationPath + tmpFilename);
        End
        Else
        Begin
          psLogWrite(1, '', 'Copy file error of ' + ctBackupPath + tmpFilename + ' to ' + ctDestinationPath + tmpFilename);
        End;
      End
      Else
        psLogWrite(1, '', 'Error, xml file does not exist: ' + ctBackupPath + tmpFilename);
    End.

    limagito file mover pascal script as destination

    Feedback user:

    • Thank you, I’ll try this out and let you know if I have any issues with it. Appreciate the quick response!
    • Just wanted to update, this rule and script appears to work great and I have it in place in our production workflow now, thanks again!

    #filetransfer #mft #filemanagement

    If you need any info  about this ‘Image and sidecar xml workflow question’, please let us know.

    Best regards,

    Limagito Team

     

    By Limagito-Team Image Pascal Script , ,
1 2
SEARCH