How to Export as single .JPG file a rectangle frame including its placed image/link, possible?
- September 19, 2025
- 3 replies
- 1021 views
Hello -
I try to make the following via a .jsx script, but not sure it's posible,
especially the "export as single .JPG file the rectangle frame including its placed image/link"…
Via an dialog box, offer the option to the user to EITHER export ALL included "Design Frame Rectangle/" (and its placed image/link) at once OR to export the current selected design frame only.
Anyways, they should be export as single .JPG file (high quality, @300dpi, antialiasing "on").
You will need to create a new folder with the name of the open .indd file in the same location as the open .indd file.
Be careful, sometimes, the design frame rectangle can be part of a group, in that case you will have to export
the whole group as .JPG (white background as default).
BUT for each link, I'll need:
A. One time an export of the "Design Frame Rectangle" with its link (as .JPG). Here the link could be partially hidden/cropped via a mask but it's OK.
B. Another time, if the "Design Frame Rectangle" is part of a group, an export of the whole group (again as .JPG).
C. A third time (still based on the same link), an export of the link itself as .PDF (Low Resolution for now, could be change later). And if a .PDF wasn't possible, just export the links itself as a .JPG
Each time, and for each export, use the name of the link itself and if needed §to not overwrite an existing name) adds something like "_2" or "_3" and so on…
One typical .indd file would look like the attached file.
Thanks for any feedback/input.
Enjoy your day
- Dimitri
