Re: Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
Re: Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
- Subject: Re: Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
- From: Jim Skibbie <email@hidden>
- Date: Thu, 26 Feb 2009 23:06:58 -0600
- Thread-topic: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
Title: Re: Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
Thanks to everyone for helping out with this situation. The issue I think is the PDF itself, but it’s helped me to learn a lot about PDFs.
Thanks.
Jim
The PDF that I am placing, when placed manually with the Crop to: set to “Bounding Box” is placed
so that the size of the placed image is cropped right to the edge of the artwork on all sides.
If I place it manually with the Crop to: set to “Media Box”, it comes in with the same media box
that was set when the PDF was made.
If I use the scripting I’ve made, it doesn’t matter what value is set in the PDF crop bounds
setting, “PDF media box” or “PDF bounding box”, the result is as if you manually place the PDF with
the Crop to: set to “Media Box”
If you are interested, I can send the PDF to you if you’d like to try it yourself. Maybe it’s the way
the PDF is created that makes it react this way?
Hi Jim,
I asked a co-worker of mine* who’s familiar with PDF stuff about your question. He suggested that you need to use the “PDF art box” option in your script, like so:
tell application "Adobe Illustrator"
set PDF crop bounds of PDF file options of settings to PDF art box
end tell
Apparently, the “bounding” and “media” boxes are often/usually defined to be the canvas/page size, while the “art” box snuggles to the illustration itself. See if that makes a difference.
*Thanks, Tom!
HTH,
Stan C.
_______________________________________________
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