Re: Can Acrobat PDF's be saved as single pages via Applescript
Re: Can Acrobat PDF's be saved as single pages via Applescript
- Subject: Re: Can Acrobat PDF's be saved as single pages via Applescript
- From: Shane Stanley <email@hidden>
- Date: Sun, 08 Jan 2017 22:37:42 +1100
On 8 Jan 2017, at 9:29 pm, Yvan KOENIG <email@hidden> wrote:
>
> There is a huge difference.
> Although they are twice big than files given by the "old" one they display VERY LESS crisp characters.
That's right.
Here's Brian's original summary:
> Sometimes our clients send large images, with a crop box, and images outside the crop box.
>
> We only want to print what's in the crop box, but to fit the extra 4 text boxes on the image, I have to enlarge its boundaries.
>
> This sometimes reveals (and prints) the extra image components that the sender has not cropped.
In other words, he wants to completely remove any items outside the PDF crop boxes -- and there's no way to do that (with the tools at hand).
The compromise he is using is to make bitmaps of the PDF pages, which *can* be cropped to the crop box. These bitmaps can then be saved in PDFs, to which he can add the other material.
The result is much bigger files and potentially lower quality, as you have seen. (The quality can be increased by making the files even bigger.)
But there's not much choice -- if he just exports the pages as your code does, the unwanted components will still remain on the page, and will (re)appear when he resets the crop bounds to add the other images. The same thing will happen if he exports them using Acrobat or Smile.
It may be that another workaround would be to first add white boxes to mask the extra area before adding the other items -- that would retain the quality. But I don't know how Brian's adding them, so I don't know how feasible it would be.
(Another workaround would be to place the PDF on a page in InDesign, cropped to the crop box, add the other items, and then export the page as a PDF.)
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden