Highlighted

Automate width of clipping mask to re-linked image

New Here ,
Nov 18, 2020

Copy link to clipboard

Copied

Hello! I'm looking for a script to help me automate a lot of things so my client can update the poster themselves, and I really hope someone can help me. If a new script needs to be created I'm also willing to hire the right person.

 

I'm looking to do the following: 

  1. Replace a book cover img with another book cover (See attached poster example design)
  2. When replacing the book cover, I want the height of the book to be fixed, but the width should adapt to the witdh of the new book cover image. 
  3. The book illustration should adapt to the new width of the book cover just replaced. Meaning the illustrated book should be "dragged" to fit the width.

Book-poster-example

Any tips on how to accomplish this? 

 

Thank you!! 

TOPICS
Scripting

Views

44

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

Automate width of clipping mask to re-linked image

New Here ,
Nov 18, 2020

Copy link to clipboard

Copied

Hello! I'm looking for a script to help me automate a lot of things so my client can update the poster themselves, and I really hope someone can help me. If a new script needs to be created I'm also willing to hire the right person.

 

I'm looking to do the following: 

  1. Replace a book cover img with another book cover (See attached poster example design)
  2. When replacing the book cover, I want the height of the book to be fixed, but the width should adapt to the witdh of the new book cover image. 
  3. The book illustration should adapt to the new width of the book cover just replaced. Meaning the illustrated book should be "dragged" to fit the width.

Book-poster-example

Any tips on how to accomplish this? 

 

Thank you!! 

TOPICS
Scripting

Views

45

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
Nov 18, 2020 0
Adobe Community Professional ,
Nov 19, 2020

Copy link to clipboard

Copied

can you share an example of what it would look like at the end? i'm not sure i follow what you mean by "dragged to fit".

will it only be that "cover" rectangle that scales, or the entire book illustration (causing a bit of skewing depending on how much it has to stretch/shrink). 

 

do you want to keep the left side of the book aligned where it is, and then stretch the book to the right to accomodate the linked image inside it?

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
Reply
Loading...
Nov 19, 2020 0
New Here ,
28m ago

Copy link to clipboard

Copied

Hi @DilliamWowling 

 

I've switched to InDesign in the meantime and am working with a developer to build a script to accomplish what I'm looking for. But.. I still stumble when trying to get the book illustration to adapt to the book cover size. So.. this is what I'm looking to achieve: 

 

One book cover pasted into the book cover frame, and it should look like this: 

Screenshot 2020-11-25 at 21.37.58.png

When another book cover is pasted within the frame that is less tall, it should like this: 

Screenshot 2020-11-25 at 21.40.35.png

 

So.. 

  1. I want to keep the width of the book.
  2. The book cover should fit to the bottom within the frame
  3. The frame should adapt in the height to the new book cover dimensions 
  4. The top part of the illustrated book pages and book spine should also adapt to the height of the book.. in this example it should move down.. 

 

Any idea how to achieve this? 

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
Reply
Loading...
28m ago 0
Resources