Skip to main content
Known Participant
June 12, 2019
Answered

Photo Collage Toolkit - How to Automatically Scale Images to Cutouts

  • June 12, 2019
  • 2 replies
  • 3933 views

Hello,

I am trying to use JJMacks Photo Collage Toolkit.  I would like to know if there is a way to automatically scale the images to cutouts in the collage templates.  If anyone has accomplished this, please share some advice on how to go about it.  Thank you.

    This topic has been closed for replies.
    Correct answer JJMack

    The scripts in my toolkit will resize your images to fill the image areas in your Collage template they are being populated into.  The image composition in the collage will look like a centered aspect ratio crop that was resized to fill the image area in the collage.  Image that are populated into collage template should have aspect ratios that are close the the Aspect Ratio of the area that they will be places into.  Populating landscape images  into portrait area or a portrait images  into a landscape area will result in image composition that will be unacceptable for to much of you image content will be masked off.  You can populate any size image they will be resized for the collage image area.  However, for best results your Image should have the same Aspect ratio as the area they will be populated into.  They are your images and they are your templates make then work well together..

    2 replies

    JJMack
    Community Expert
    JJMackCommunity ExpertCorrect answer
    Community Expert
    June 13, 2019

    The scripts in my toolkit will resize your images to fill the image areas in your Collage template they are being populated into.  The image composition in the collage will look like a centered aspect ratio crop that was resized to fill the image area in the collage.  Image that are populated into collage template should have aspect ratios that are close the the Aspect Ratio of the area that they will be places into.  Populating landscape images  into portrait area or a portrait images  into a landscape area will result in image composition that will be unacceptable for to much of you image content will be masked off.  You can populate any size image they will be resized for the collage image area.  However, for best results your Image should have the same Aspect ratio as the area they will be populated into.  They are your images and they are your templates make then work well together..

    JJMack
    truematicAuthor
    Known Participant
    June 13, 2019

    Thanks for your reply.  I am moving portrait image on to a portrait cutout, but will further adjust the dimensions to see if I can get the desired resizing.  I also found a script on the forum that might work.  Will try it out in the next few days and report back.

    truematicAuthor
    Known Participant
    June 14, 2019

    If all you image have the same portrait Aspect ratio. Like image from your  3:2 aspect ratio DSLR Camera  therefore a  2:3 portrait image.  When you create your templates make Image locations areas have a 2:3 Aspect ratio.  The scripts will place your images into  those 2:3 aspect ratio area perfectly.  No Image content will be masked off.   Its all about Aspect Ratios. Your Images Aspect Aspect Ratios and the Collages Template  Image locations Aspect Ratio.  If the two Aspect Ratios match the resizing will be perfect.

    If they do not match the Placed image will look like a centered Aspect Ratio Crop that has been sized for the Collage Image area. What the Script do is resize the image to fill collage image area. Thar resize makes either the width or the height will be the correct size.  The other dimension will be larger then the image area dimension.  This excess image content is masked off to constrain the image  toe the Collages image area.  The mask is  like a virtual Crop.


    Understood - the images I am trying to fit are all different size images that were sized for web, so all over the place in ratio but all portrait.

    I have tried different sizes on the Image Locations - still not satisfied with the results and have an idea.  Where would I change the function of the centered Aspect Ratio Crop?  Instead of cropped and masked off by the border of the Image Location, I think it would be possible to replace the crop function with a scale function to fit the image to image location based on width + height?  In this case, nothing would be cropped.  Your thoughts would be appreciated, thank you.

    Sahil.Chawla
    Adobe Employee
    Adobe Employee
    June 12, 2019

    Hi there,

    I am looping in JJMack, as he might be able to you out with this query.

    Regards,
    Sahil

    truematicAuthor
    Known Participant
    June 12, 2019

    Thank you for the pointer!  Hope he chimes in...