Can an image resize automatically to fit into a template?

Many (weaker) programs allow you to drag an image into a template and have it resize to fit into a specific area.  Can this be done in CS6?  For instance .... if you designed a 4x6 Christmas card template and it had a (place holder?) for a 2x2 photograph, and you dragged an image into this 2x2 area, can it resize automatically to "fill" just that 2x2 area?  This would result in some cropping of just the longest dimension, if the image inserted wasn't a square.

It can be done with Photoshop Scripting.   Note when the inage has a diffenebt aspect ratio or different shape then the template the images is sized to fit and fill the template open and any excess is masked off.
I have a free download you can use.  In Photoshop version  CS2 through CS5 Below CS2 some required features are missing and there are bugs in CS6 scripting.
Photo Collage Toolkit 
Photoshop scripting is powerful and I believe this package demonstrates this. The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
There are ten scripts in this package they provide the following functions:
TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
Documentation and Examples
Download

Similar Messages

  • Solaris 10 install problem (requested image to big to fit into memory)

    I have just downloaded the iso images and burned to disk. When I go to install I get the message (Requested image to big to fit into memory Error 28) I have 1.5GB so I don't understand the problem. Thanks in advance
    It took a long time for me to figure out, but the answer is disable in BIOS memory hole at 15M to 16M. This solved the install problem with Open Solaris and quite a few more such as not being able to install Linux Zenwalk 5.0 or openSUSE 10.3. Their are others also problems I have had with Linux or UNIX that this took care of. JGZ
    Edited by: jgz on Mar 8, 2008 9:13 PM

    Hi,
    I had been able to solve the Error 28 issue that in my case was really related to a corrupted boot image:
    1. I went in the path /a/platform/i86pc
    2. rm boot_archive.
    3. sync
    4. reboot
    At this point the OS will notice the absence of the boot_image and it will regenerate it.
    At the time of this operation the CD with solaris 10 was inserted in the CDROM.
    When the system restarted it was able to load the OS properly.
    Please use these information at your own risk. I do not accept any liablity.
    Cheers

  • Can a pcie-1x sound card fit into the third pcie-8x slot of P7N Platinium ?

    can a pcie-x1 sound card fit into the third pcie-x8 slot of P7N Platinium (indicated by the green arrow in the pic below) ?
    what is the intended usage or practical usage for that 3rd slot?
    Also, kindly enquire if 3 ways SLI really feasible and any driver is released and tested to support it?
    My rig specification are as follow: 1)msi p7n sli platinium, 2)intel e8400 stock cooler, 3) 2x 2GB Crucial Ballistix  DDR2 800, 4)2x msi 8800gt oc 512mb  5) acbel M8 750 6) Samsung 160gb hdd 7) Asus DRW.
    thank you. i do like this motherboard, very nice layout and the circu-pipe in particular. lack of sata ports has been compensated by purchasing a 4 sata ports controller card. if the third pcie x8 is a pcie x1 slot, that will be even better.

    Quote from: BOSSKILLER on 22-April-08, 17:31:47
    Yes you can
    great to hear that. like that, i can consider buying the Asustek Xonar D2X Audio Card PCI-E as the green indicated pcie x8 is my only unoccupied slot after using 2  gfxs (2 slots) and 1 sata controller pci card.
    thank for your prompt reply.
    cheers.

  • How to best arc image without distortion to fit curved cup template?

    I have tried searching forum for this and I know it has been discussed before but not really finding what I need to do correctly.  I have attached the layered image (reducing opacity so you can both template and image). The vendor provided me a flat template, not a path, to do my artwork. As you can see I need to arc the image without distorting to fit a cup template. I am more comfortable in photoshop but I can export to AI if necessary to complete which appears what I need to do via envelope distort from what I keep seeing. However, the template provided is not a path. I tried to trace template shape manually with pen tool and use envelope distort to arc my image to conform but it looked very distorted and no even close to what I was trying to achieve. I tried to do tradition arc warp in photoshop but it still seems to distort proportions. Steps on how best to do this would be much appreciated! I know there must be a easier/more efficient way to achieve this.

    I would not trace the template and will simply use it as a visual reference for deforming (conforming) the image to it. You can make the template image transparent to certain degree using the Transparency panel so you can see through it then move its layer on top of all other layers and lock it. Scale and position your image in such way that at least two of its corners fit two corners of the template for example the two top corners and then its bottom edge is on the same level as the template.Then select the image to be deformed and in the control panel at the top of your screen click the Embed button which allows you to deform the image (edit: just noticed you wrote it is already embedded, so skip this).
    Choose Object > Envelope Distort > Make it with a Mesh. and chose 1 for rows and columns. Make sure the Smart Guides are on (View > Smart Guides). With the Selection tool (white arrow) Shift click or drag a selection box to select the two points of one of the vertical sides of your image. Pick the Sheer Tool and first just click on the selected top corner point to set the reference point of the sheer then click and drag the corresponding bottom point to match it to the corresponding point of your template. You may hold Shift while dragging to constrain although the Smart Guides will do that by snapping to edge of the envelope if your mouse is close to it. Repeat this for the other side of image. To make the image curved, pick the Selection tool (white arrow) click a corner point which will display its handles, pick a handle that is on a horizontal side of the image and pull it up to deform the shape referring to the template. You may do this first roughly with all horizontal handles and then you can drag guides from the ruler when a handle is selected to snap a guide to it and use it to put the corresponding handle on the opposite side on the same level.
    Once you have deformed the image to conform to the template, you can fine tune the distribution of the vertical deformation with the vertical handles of the corner points. You can grab a handle and drag it along the vertical paths of the envelope (the Smart guides will snap to it). Drag the vertical handles on one each side lower until you like the distribution of the deformation.
    Try to follow my instructions and I'll clarify if you are stuck.

  • Can Macbook internal parts be custom fit into an empty 12" Powerbook shell?

    I have a love-hate relationship with my new Macbook. It's very fast and I now have Tiger, etc., but the size, shape and keyboard are awful for me.
    As an older woman who hunts and pecks, the Powerbook keyboard was just the right size and "feel" for my hands. Also, I could clearly see the black letters.
    The Macbook keys are spaced too far apart for my fingers, they feel funny, and I can't read the light gray against white lettering.
    If I can't get someone to squeeze this into my beloved 12" Powerbook, can I at least switch the key plates that you press on between the two? Maybe there are key letter stickers with large letters on them that I can get...??
    Thanks ....
    Grannie Geek
    Grannie Geek

    Unfortunately, it is nearly impossible to do what you want to do. The PowerBook and MacBook have virtually no common components between them. Your best bet may be simply to get a USB keyboard. Another option may be to switch to a black MacBook... the keys are white lettering on black keys... very easy to read. While it would be an unusual request, I don't see any technical reason why Apple wouldn't be able to fit your white MacBook with a black keyboard. Perhaps if you explain your situation to them, they can work something out.

  • Can a G3 iBook airport card fit into my G4 17" iMac?

    Just wondering if anyone know whether my old iBook airport card will fit into the G4 17" iMac.

    Your iBook G3 uses the original 802.11b AirPort card.
    Your 1 GHz iMac G4 requires the 802.11b/g AirPort Extreme card. Your iMac can not use the older card.

  • How can I create an automatically updating date in my template?

    I've created a template using Pages 5 for Mac, but I want to include a date in the header which shows the date the document was created. I've noticed that this is possible with the default Apple-designed templates included with Pages. I know that I can insert a date by going to Insert › Date & Time, but this only shows the date the template was created, and not the current date (I also know that you can click on the date and select 'Go to Today', but I often forget and it's a hassle).
    Does anyone know if this is possible?

    Matthew,
    It does appear that the auto update of Date and Time is gone. If you click on the calendar icon associated with the date object, you can update all instances of Date in your document at once. If that's not good enough, you can Insert a table, one with no headers or footers, shrink it to one cell, set borders to none, and insert the formula:
    =TODAY().
    Format the cell to display the date and time as  you wish.
    Alignment can be a problem with inline tables, so you could add an entire sentence in that cell by writing:
    ="Date printed: "&=TODAY()
    Here's an example with the table Selected...
    and here is what it will look like after formatting..
    Now if you move this table to the Section Master, it will appear on each page.
    Jerry

  • Scrollpane Image Resize?

    When you load an image into the scrollpane via the
    contentPath it displays the image full size, ie if the image is
    larger than the scrollpane window you get scroll bars so that you
    can view the complete image.
    Is there a way to resize the image so that it fits into the
    current scrollpane window?

    One thing that I have discovered is that the scrollpane
    apparently does not resize when new content is loaded into it. It
    scales to accept the first data that is loaded into it and then
    doesn't check again. Since you need to load the content before you
    scale it, this presents a problem because the scroll bars will
    scale to the original content size and not the altered size.
    So you should use a holder mc as your default content ,sized
    to fit the desired scrollpane, then load your final image into that
    holder and finally scale your image.
    Hope that helps.
    M

  • How can I resize a JFrame ,to fit into the screen size

    I have a Jframe which has JPanel and JPanel contains lot of other components.JPanel size is 980,1400. when i use JFrame.show method jpanel goes beyond the screen size in length and I am not able to see the portion below the screen.How can I resize the JFrame so that JFrame and JPanel shrinks to fit into the screen size.I need this because I have a PRINT button at bottom of the JPanel.Thanks.

    Thank you for your reply.I tried with the following code as you have told.But the frame is still going beyond the screen.Can you please look into it and tell me whats wrong ?
    //public class PlayerRegForm extends javax.swing.JFrame implements Printable
    public static void main(String args[]) {
    PlayerRegForm prf = new PlayerRegForm();
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = prf.getSize();
    if (frameSize.height > screenSize.height)
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width)
    frameSize.width = screenSize.width;
    System.out.println("Screen Size ----------------- " + screenSize);
    System.out.println(" Frame Size ----------------- " + frameSize);
    prf.setSize(frameSize.width, frameSize.height);
    prf.pack();
    prf.show();
    =============================================================================
    Screen Size ----------------- java.awt.Dimension[width=1024,height=768]
    Frame Size ----------------- java.awt.Dimension[width=112,height=28]

  • Automatic image resize

    Does anyone know of a free JS which automatically resizes images
    in the correct aspect ratio?
    i could do with one because a lot of my sites have functions so the client can upload images.
    if i need to write it myself would the following process work, or have i got my maths wrong?
    find the width of the image
    find the height of the image
    divide the width of the image by the width of the area deciatied to holding the image - set this as var W
    divide the height of the image by the height of the area deciatied to holding the image - set this as var H
    (I should now know how many times too big the image is)
    set the width of the image to existing width / W
    set the height of the image to the existing height / H
    place the whole thing in an IF statement top stop it from running iof the image nativly fits into its space.

    That would be alot simpler, I did not realise that browsers could do that.
    However with that method you can only limit the width of the area the image may occupy, with my method both the width and the height can be fixed.

  • Making Image Fit Into Photo Album

    I am using photoshop elements 11 trial version before I buy one.  I'm trying the wedding photo album, but I'm having trouble fitting a picture into the picture "slots" for lack of a better term.  One picture that I simply want as a full picture is 8.5 x 11, 300 dpi.  Photoshop elements will not let me see the entire picture.  What do I do? 

    Do you mean you want to drag a picture from the photo bin to the working space so that they fit in one free location of the template ?
    If the size in pixels of the dragged picture is much bigger than the final size in the template, you'll see only a small part of it in your template. If you want to resize the layer where the dragged photo has been copied, you can't see the bounding rectangle to resize the layer.
    You could resize a copy of the file to drag to a smaller size before dragging, but it would be easier to use the following method:
    - I have set the preference to zoom with the wheel of my mouse.
    - Once I have dragged my image to the template, I use the shortcut Ctrl T ( free transform) I zoom strongly so that the whole picture looks much smaller and the bounding box of the new layer appears entirely. Alternatively I can use the navigator slider to reduce the zoom range so that the bounding box appears around the reduced view of the template.
    - I select a corner of the bounding box and move it towards the center to resize the image so that it fits roughly into the template; and I zoom back to normal view of the template to adjust the size and position of the layer with the move tool.

  • Can you Resize Wallpaper to Fit - iPhone 6

    Short of redoing the measurements and/or font sizes of a self-created wallpaper jpeg created in Photoshop, is there a way, right on the iPhone 6, to slightly scale or recenter the wallpaper? There was such a scale/move option on my 4 running IOS7, but I can't seem to find a similar command on the 6 running IOS 8

    Actually, no, rbrylawski.
    When I chose a self-created jpeg, and tried to pinch it smaller, it does go smaller, as long as I hold the pinch. The minute I let go, it springs back to the size that's a bit too big for the iPhone 6 screen. I can spread my fingers outward (zoom) and make it as big as I like, and it stays big when I let go. Doing that also causes "Perspective Zoom" to turn from off to "on." I can also move the image off center in all 4 directions, and it will stay where I leave it.
    But then pinching it down to a size where the whole jpeg fits into the screen (causing "Perspective Zoom" to turn "off" again) it will spring back to too big as soon as I let go. Seems like if you start with a jpeg that's too small, you can easily zoom up, but for a jpeg that's too big, you have to resize in a graphics program to exactly the iPhone's screen size or your screwed.

  • Can photos shared from my computer be displayed at their original pixel size, rather than resized to maximum fit on my TV?

    I am having a problem with my Samsung TV hooked to my AppleTV and viewing images shared from my MacPro.  The sharpness of the viewed images is less than the original image.  I  am careful to make sure the originals are smaller than 1900 pixels wide, to avoid resizing.  However, even smaller images are automatically resized fully to fill the screen, and I feel that somehow there is a slight but  noticeable loss in quality in the process.  Can I control how Apple TV presents images to my TV  to prevent resizing?  ( I also have tried a Western Digital Live TV module which also shares with my MacPro, and it does allow me to prevent resizing, but it doesn't seem to help)  Is it possible that my new TV (Smart TV) is inherently messing up the images slightly? (sorry, this is a non-Mac question)
    Eilert

    Hello Winston.
    I was afraid of that, that images would be automatically resized by AppleTV (at least, that is what I think you are saying).  In general, resizing of any photo will tend to reduce sharpness a bit, so at times it would be preferred to not do so.  No luck, with Apple TV, it seems.  I also suspect that there is something about the tV firmware which is contributing to the problem, and I have contacted Samsung, but no specific info on that yet.  Thanks for the response.

  • Can't resize column to fit text

    Can't resize column to fit text in numbers.  option is "grayed-out" no matter what I do

    It is either a glitch or a rather unfun new thing. No one knows for sure. You do have a bit more control if you go into your photos app, find your photo and tap on the little box with the arrow poking out of it. That allows you to send it to be wallpaper. You can do some scaling, although not as much as you used to.
    Finding work arounds is about all you can do until it's fixed.

  • How can I make picture fit into screen

    There's a picture on the Internet that I want to print, but it's slightly too tall to fit into my screen. I've tried changing the resolution. I've also gone to Apple>System Preferences>Displays>Geometry, but nothing there does the job. If I could rotate the image 90 degrees, I believe I could get the ENTIRE image on my screen, but the Rotate button only makes the picture tilt slightly. The Height adjustment doesn't help, either.
    Is there a way to rotate the picture 90 degrees, or is there any other way get the picture to fit into my screen? Yes, I've also dragged (stretched-out) the picture as far as I could.

    There's a picture on the Internet that I want to
    print, but it's slightly too tall to fit into my
    screen...
    The answer to your question depends a several things.
    Changing the screen resolution or "geometry" does
    not change how something is printed. So is your
    question the right question. Are you trying to make
    it "fit into your screen"? Or are you trying to
    make it print on a single sheet of paper?
    NOTE: If the goal is to fit it on the screen, there
    are many ways you can do that. Maybe the easiest is
    to select Print in whatever program you are using to
    see the image. In the Print dialog window, click the
    Save as PDF... button. This will allow you to save
    the page printout as a PDF file. Double-clicking on
    the file should open it in Preview app. In Preview,
    you can adjust the "magnification" to make it all fit
    on your screen.
    Thanks for the almost instantaneous reply. I've copied it because it contains useful information that I might need in the future; for now, however, I somehow managed to stumble into a solution while waiting for a reply. Oh, now I realize where I had gone wrong, and why I was finally succesful. At first, I tried to copy the screen by using the COMMANDSHIFT4. And, as you know, when using this system, you can only print what is on the screen. Later, well, I'm already a little fuzzy on what I did, but I didn't use the "Screen Capture" method. Thanks, again.

Maybe you are looking for

  • Is it possible to install windows 8 on a Mac Mini?

    I have a Mac Mini and I want to install windows 8. Can it be done?

  • ORA-1653: unable to extend table (but tablespace is not full!)

    Hi folks, I was navigating through the Alert Log file and I'm strangely noticing the error: ORA-1653: unable to extend table PROMO.DETAILS by 40973 in tablespace PROMO I'm defining it as strange because: (1) The tablespace is only 65% full (there are

  • All online logs needed archiving

    "All online logs needed archiving" I have the database in "archivelog" mode alert file ..All online logs needed archiving When adding a new schema should the archivelog be NO? What am I to do here?

  • Retrieve Catalog details after the processing of SC

    Hi Experts, Scenario: After selecting a product from the catalog, the shopping cart is waiting for approval or is with the operational purchaser. At that point if the price in the catalog for the product changes then it should be be retrieved from th

  • Recovery Mode Help!

    How do I get my phone out of recovery mode without losing all my photos and videos? Help!