0
Crop an image using Javascript/Action
New Here
,
/t5/acrobat-discussions/crop-an-image-using-javascript-action/td-p/8008659
Feb 17, 2016
Feb 17, 2016
Copy link to clipboard
Copied
Hello,
there is an image that I can crop manually using Content Editing/Edit Text & Images -> Selecting the image -> Choosing the Crop function
then I can drag i.e. the bottom side of the image and crop an inch from it like that:
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!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/acrobat-discussions/crop-an-image-using-javascript-action/m-p/8008660#M155998
Feb 17, 2016
Feb 17, 2016
Copy link to clipboard
Copied
JavaScript does not allow you to set clipping regions. An alternative would be to place something opaque, like a button, on top of the area that you want to obscure, and perhaps then flatten the button.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

