• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Automate width of clipping mask to re-linked image

Community Beginner ,
Nov 18, 2020 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

411

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

correct answers 2 Correct answers

Enthusiast , Nov 25, 2020 Nov 25, 2020

In this regard, I recommend you to use InDesign Auto Fitting options.
I will share some links to give you an idea about the application.

https://www.youtube.com/watch?v=zyWFQMUausQ&ab_channel=InDesignSecrets

https://www.youtube.com/watch?v=9tljWr5kNUM&ab_channel=MichaelBullo

 

Votes

Translate

Translate
Valorous Hero , Nov 25, 2020 Nov 25, 2020

You could try making a graphic style with some advanced techniques such as creating a pattern brush and tweaking it just so inside appearance strokes to get a desired effect.

Silly-V_0-1606343067631.png

See file here:

https://www.dropbox.com/s/d9ovwth62xr03vb/Book%20Outside%20Graphic%20Style.ai?dl=0

Votes

Translate

Translate
Adobe
Community Expert ,
Nov 19, 2020 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?

Votes

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
Community Beginner ,
Nov 25, 2020 Nov 25, 2020

Copy link to clipboard

Copied

Hi @Disposition_Dev 

 

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? 

Votes

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
Enthusiast ,
Nov 25, 2020 Nov 25, 2020

Copy link to clipboard

Copied

In this regard, I recommend you to use InDesign Auto Fitting options.
I will share some links to give you an idea about the application.

https://www.youtube.com/watch?v=zyWFQMUausQ&ab_channel=InDesignSecrets

https://www.youtube.com/watch?v=9tljWr5kNUM&ab_channel=MichaelBullo

 

Graphic Designer Educator / PrePress Consultant

Votes

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
Community Beginner ,
Nov 26, 2020 Nov 26, 2020

Copy link to clipboard

Copied

Thank you @ceyhun_akgun  I'll take a look into that auto fit!

Votes

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
Valorous Hero ,
Nov 25, 2020 Nov 25, 2020

Copy link to clipboard

Copied

You could try making a graphic style with some advanced techniques such as creating a pattern brush and tweaking it just so inside appearance strokes to get a desired effect.

Silly-V_0-1606343067631.png

See file here:

https://www.dropbox.com/s/d9ovwth62xr03vb/Book%20Outside%20Graphic%20Style.ai?dl=0

Votes

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
Community Beginner ,
Nov 26, 2020 Nov 26, 2020

Copy link to clipboard

Copied

Hi @Silly-V 

 

Wow that looks really interesting! Thank you for the file. Would you be able to use this pattern brush / Graphic style in inDesign though? Thanks for the helpful and fast reply.

 

Votes

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
Valorous Hero ,
Nov 27, 2020 Nov 27, 2020

Copy link to clipboard

Copied

LATEST

No, this is one of those features unique to Illustrator. InDesign has some rudimentary brush mechanism but the same effect would need to be achieved in some other crazy way within InDesign - if it's even possible.

Votes

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