Script for filling the bleed with adjacent picture

Participant ,
Aug 03, 2022 Aug 03, 2022

Copy link to clipboard

Copied

Hi guys,

Scripts are meant to help us doing repetitive and time consuming tasks, and I'm getting crazy about that one. So I'd willing to jump into wrting one. The thing is, starting from scratch isn't easy, especially when you're a begginner at scripting.

So I'd like to gather advice before going anywhere.

 

What is the problem :

Filling the bleed manually. Very time consuming.

On any document with some BG layout, the bleed has to be filled, we all know that. I use a lot of pictures and for some reasons I do not want put some part of them into the bleed area. At first I thought the script from Marc Autret (FillBleed) was gold. https://www.indiscripts.com/post/2018/03/fill-bleed-fix-image-frames-so-they-meet-bleed-edge

But the main issue of the script is that it extends the picture, killing the dpi ratio. These new low resolution small pictures are then refused by printing houses. Minimum dpi is 240. Expanding pictures i not then an accurate solution when printing professionnaly is required.

 

What is current and time consuming "solution" :

The only way to fill the bleed (as far as I know) is to duplicate/ flip the pictures and adjusts the size of them and position them next to each other, to the top/bottom/left/right/ top-left/ bottom-left… wherever it is necessary. 

 

What would the welcoming script do :

After selecting a picture/ textframe/ any object, it would

- open a window 

- propose a design (similar as the reference points at the top left of ID) where I can select which parts of bleed i want to mirror. Top-left/ Left/ Bottom-left etc. 

- Calculate the position of the original frame (to fill just enough of bleed, whatever the size of it or the actual position of the selected frame)

- Fill the bleed with extra frames of accurate size and flipped pictures.

The process sounds ok to me. Please, tell me if I'm missing something or if it isn't clear enough.

I would just love to hear advice from you guys, at least pointing a direction toward which functions to use to begin with. I would have liked "FillBleed" to be readable to get a start at least but it's crypted.
If I can save some time by get some clues, it'll be nice

 

Thanks for your time

 

Fred

TOPICS
Performance , Scripting

Views

49

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 03, 2022 Aug 03, 2022

Copy link to clipboard

Copied

LATEST

Capture d’écran 2022-08-04 à 02.25.40.jpg

Sometimes, a picture speaks louder than a long prose.

This UI I've done should do the trick for the time being. That was the easiest part (thanks https://scriptui.joonas.me/ a lot)

Now, I need to get my brain boiling…

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines