1 Reply Latest reply on Feb 17, 2016 10:43 AM by George_Johnson

    Crop an image using Javascript/Action

    matmate

      Hello,

       

      there is an image that I can crop manually using Content Editing/Edit Text & Images -> Selecting the image -> Choosing the Crop function

      crop.png

      then I can drag i.e. the bottom side of the image and crop an inch from it like that:

       

      pdf_crop.png

       

      How can I achieve this using Javascript?

       

      Eventually I aim to do this in a loop for each page within an Action. There is always only one image on each page - it is a scanned document.

       

      Thanks in advance!