Need a script for resizing images of Portrait and landscape without having to first sort

OK I downloaded this great script: Image Processor Pro to create multiple batches in a single shot.

http://blogs.Adobe.com/jkost/2015/06/image-processor-Pro-for-Photoshop-CC-2015.html

It's great, but I still have to run a tiny drop to resize the files exactly 374 x 498 and 276 x 385, after I cut them it will be "worthy", but this was not accurate.

Here is my method:

I have original TIFF that I have edited, original images is usually square. (sometimes they are not, and I wish I had a solution for that as well, but one thing at a time)

Since these TIFF I execute the script to save to 4 different folders:

Resize to 2000 x 2000 and rename to add sizing file name

Resize to 500 x 500 and rename to add sizing file name

Trim & resize to 374 x 498 and rename to add sizing file name

Trim & resize to 276 x 385 and rename to add sizing file name

Here's what it looks like:

Screenshot2000x2000Script.JPG

ScreenshotTrimScript.JPG

Here's what it looks like once I launch my image processor:

FinalResult.JPG

and here is an example of the files in the folder XS with dimensions:

XS.JPG

Which is great! But now I have to go to sort my pictures SM and XS of landscape & Portrait and THEN run another drop on them to get them to fit exactly 374 x 498 and 276 x 385.

SO please tell me there is a better way! I'm almost there!

If the version of Photoshop supports done condition and the condition is a conditional action as you can get without learing scripting. The problem, actions must be in the same action game and the game cannot be renamed.  Here action must be used after Image processor makes pro then the image resizing made tho conditional actions can add the canvas so that the document of the exact size.

Tags: Photoshop

Similar Questions

  • Need a script for wise vm file used and put into service space


    Hello

    In my env of customer, we have several file type of request. In each case, we have several virtual machines, including cluster virtual machines.

    We need space total get used and implemented for each folder.

    Thus the requirement is cluster disk must be calculated only once.  Please help me with this...

    -one

    I think a filter to get, maybe all the VM which appear as an RDM or shared vmdk and filter those out of the collection of Get - VM.

    Then add those together separately, combining the resemblance of the name of file maybe?  If you can run this Script of RDM, then I can see what the data might look like to adjust.  I have no RDM to play with on my end, unfortunately, all NFS these days.

    $report = @)

    $vms = get - VM | Name - descending sort. Get-View

    foreach ($vm to $vms)

    {

    foreach ($dev in $vm. Config.Hardware.Device)

    {

    If (($dev.)) GetType()). (Name - eq "VirtualDisk")

    {

    If (($dev.Backing.CompatibilityMode-eq "physicalMode") - or ($dev.Backing.CompatibilityMode - eq 'virtualMode'))

    {

    $row = "" | Select VMName, HDDeviceName, HDFileName, HDMode, HDSize

    $row. VMName = $vm. Name

    $row. HDDeviceName = $dev. Backing.DeviceName

    $row. HDFileName = $dev. Backing.FileName

    $row. HDMode = $dev.Backing.CompatibilityMode

    $row. HDSize = [math]: Round ((($ dev.)) CapacityInKB) / 1048576), 2)

    $report += $row

    }

    }

    }

    }

  • Need for Action to resize the image orientation Portrait or landscape

    I recorded these two Actions:

    (1) resize an image of the Portrait orientation to a height of 800 pixels (constrain proportions), then "Save for Web" to a jpg with quality 24%

    (2) resize an image orientation landscape to a width of 800 pixels (constrain proportions), then "Save for Web" to a jpg with quality 24%

    How can I create an Action that will work for images of landscape and Portrait (800 pixels in proportion to the other dimension by setting the largest dimension)?

    I use Photoshop CS5 v12.0.4x32 and Windows XP Pro SP3.

    Thanks to anyone who can help me.

    Jeff Schewe says:

    No, actually, that won't work... try it yourself. The image codes hard size a specific image resizing. Image adjustment is what you use.

    OK, I just tired it. I created two Actions (one using 'Image-Fit' value 800 pixels and another using 'Image size' value 17.4216% to reduce 4592 to 800 pixels). I ran each Action against a mixture of image orientation portrait and landscape and the results were identical and correct (the largest dimension is reduced to 800 piexels and the smallest to 532 pixels).

    All images of my Masters are 4592 x 3056 (or 3056 x 4592), the 17.4216% reduced to 800 x 532 (532 x 800). If I had a master mix of images of different size, 17.4216% would not suffer in 800 pixels. In this case, I would need to use "Mount Image" to get 800 pixels or I need a new Action with different percentages.

    In conclusion, you are right. 'Fit the picture' is what I should use so it will result in 800 pixels, regardless of the size of the master image. Thanks for your help.

  • Need a script for marginal elements consists of two tags

    Hello world

    I need a script for the marginal elements with two paragraph tags. Object styles, library items are all available for this work. My requirement is to cut two paragraph tags and put it in the library and also using styles of both object elements. Is this possible? Can help you to do this. For more information, I have attached this file also.Screen shot 2011-04-05 at 4.41.13 PM.png

    Waiting for your answer...

    Hi try this code...

    main();
    main() {} function
    If {(app.documents.length!=0)}
    {if(App.Libraries.Length!=0)}
    myStyleDialog();
    }
    else {}
    Alert ("Please open library.");
    }
    }
    else {}
    Alert ("Please open a document and try again.');
    Exit (0);
    }
    }

    function myStyleDialog() {}
    var myLabelWidth = 120;
    var myParaStyleNames = myGetParagraphStyleNames();
    var myObjStyleNames = myGetObjectStyleNames();
    myDialog = app.dialogs.add var ({name: "Choose the Styles instead of anchoring"});
    {with (MyDialog.dialogColumns.Add ())}
    {with (borderPanels.Add ())}
    {with (dialogColumns.Add ())}
    {with (dialogRows.Add ())}
    {with (dialogColumns.Add ())}
    staticTexts.add ({staticLabel: "choose paragraph Style1:", minWidth:myLabelWidth});})
    }
    {with (dialogColumns.Add ())}
    myParaStyleDropdown1 = dropdowns.add ({stringList:myParaStyleNames, selectedIndex:0});})
    }
    }
    //---------
    {with (dialogRows.Add ())}
    {with (dialogColumns.Add ())}
    staticTexts.add ({staticLabel: "choose paragraph Style2:", minWidth:myLabelWidth});})
    }
    {with (dialogColumns.Add ())}
    myParaStyleDropdown2 = dropdowns.add ({stringList:myParaStyleNames, selectedIndex:0});})
    }
    }
    //----------
    ~ {with (dialogRows.add ())}
    ~ {with (dialogColumns.add ())}
    ~ staticTexts.add ({staticLabel: "Object Styles:", minWidth:myLabelWidth});})
    //~                             }
    ~ {with (dialogColumns.add ())}
    ~ myObjectStyleDropdown = dropdowns.add ({stringList:myObjStyleNames, selectedIndex:0});})
    //~                     }
    //~         }
    }
    }
    myReturn = myDialog.show ();
    if(myReturn == true) {}
    myParagraphStyle1 = myParaStyleNames [myParaStyleDropdown1.selectedIndex];
    myParagraphStyle2 = myParaStyleNames [myParaStyleDropdown2.selectedIndex];
    myObjectStyle = myObjStyleNames [myObjectStyleDropdown.selectedIndex];
    myDialog.destroy ();
    }
    else {}
    myDialog.destroy ();
    }
    }
    }
    function myGetParagraphStyleNames() {}


    var myStyleNames = app.documents.item (0).paragraphStyles.everyItem () .name;
    Return myStyleNames;
    }
    ~ function myGetObjectStyleNames() {}
    ~ var myObjStyleNames = app.documents.item (0).objectStyles.everyItem () .name;
    ~ return myObjStyleNames;
    //~ }

    //----------------------------------------------
    myDoc var = app.activeDocument;
    var myDoc.stories = monarticle;
    var myParas, myCount = 0;
    myLib var = app.libraries [0];
    var AnchorItemName = prompt ("Enter the name of library point exactly", "", "anchor point");

    for (i = 0; i
    {
    myParas = .paragraphs [i] monarticle;
    If (myParas.length > 3)
    {
    for (j = 0; j
    {
    firstPara var = myParas [j];
    var nextPara = myParas [j + 1];
    var firstParaStyle = firstPara.appliedParagraphStyle.name;
    var nextParaStyle = nextPara.appliedParagraphStyle.name;
    If ((nextParaStyle == myParagraphStyle2) &&(firstParaStyle == myParagraphStyle1))
    {
    myText = myLib.assets.item (AnchorItemName) .placeAsset (firstPara.insertionPoints [0]) [0];
    firstPara.move (LocationOptions.after, myText.insertionPoints [0]);
    nextPara.move (LocationOptions.after, myText.insertionPoints [-1]);
    myText.fit (FitOptions.frameToContent);
    myCount ++;
    } //End If
    } //End of iteration Para
    } //End of If paralength > 2
    } //End of iteration history
    Alert ("Found and dealt with Occurrences" + myCount);

    --------------

    Green4ever

  • I have two monitors, I need remote desktop for my computer at home and be able to see two screens on my home computer, how do I do this?

    I have a laptop with a single monitor.

    I need remote desktop for my computer at home and be able to see two screens on my computer at home.

    How do I do that?

    Original title: dual monitor question

    If you look at 'Options' remote desktop and look at the "View" tab there is a checkbox for "use all of my monitors for the remote session.  You may need to be an administrator to set this option.

    Check out these similar posts too.

    http://www.Google.com.au/search?q=remote+desktop+dual+monitor&SourceID=IE7&RLS=com.Microsoft:-to THE: IE-address & ie = & oe = & redir_esc = & ei = WgtJUKLeH6mRiQe834DoAw

  • I already have 5 Lightroom downloaded on my iMac. My computer is mess up and I need to buy a new one. Can I transfer my already paid for L5 to my new computer somehow without having to buy the program again?

    I already have 5 Lightroom downloaded on my iMac. My computer is mess up and I need to buy a new one. Can I transfer my already paid for L5 to my new computer somehow without having to buy the program again?

    Hi Cayley,

    You can download and install Lightroom 5 on your new computer by using the following link: Download Photoshop Lightroom

    Kind regards
    Rahul

  • How to create different layouts for (Tablet) portrait and landscape?

    Hello.

    I'm working on the version of the tablet of a Web site and I would like to create different layouts; a version for landscape view; Another view of the portrait. They would switch when the person who consults the site turns their camera. I mention this because I wonder if the Web site should be refreshed manually to reorient themselves?

    Thank you.

    M

    Hello

    I'm afraid, it is not possible to create a different presentation for both portrait and landscape site in Muse.

    However, you can get a preview what it will look like in portrait and landscape view.

    See the post: http://forums.adobe.com/message/5104181#5104181

    Kind regards

    Sachin

  • Is there a simple solution to create a gallery that welcomes them disturbing pictures portrait and landscape in the Muse Gallery Widgets?

    Is there a simple solution to create a gallery that welcomes them disturbing pictures portrait and landscape in the Muse Gallery Widgets?

    Found a discussion that might help http://answers.squarespace.com/questions/28951/how-can-i-get-the-gallery-to-display-square - portrait - and - landscape-images

    You can also use jQuery Plugins for this purpose.

    See also the images of landscape and portrait in the lightbox

  • Pages portrait and landscape in the same document ID?

    I use InDesign CS4 and am certainly not an expert user.  This may sound strange, but I have a need to produce a document that contains both portrait and landscape oriented pages but I'd rather turn the page 90 ° to the right rather than rotate the content of 90 ° to the left so that I'm not craning my neck while working on the content. Is this possible?  If so, how?  Thank you in advance for assistance.

    In the pages Panel, choose the rotation of the spread of the display in the Panel menu.

  • Overview CC supports the guidelines portrait and landscape?

    What happens when I change orientation of the device?

    Preview CC supports the drawings portrait and landscape. Overview CC automatically detects the plans of work size correctly for that rotation.

  • How to lock my iPhone 6's screen so it does not move between portrait and landscape?

    How to lock my iPhone 6's screen so it does not move between portrait and landscape?

    Select portrait orientation lock.

    Swipe the top of your home screen to access the control center and select the icon with a lock and an arc around him.

  • How can I change a page of my document from portrait to landscape without changing all the pages

    Acrobat Reader DC - How can I change a page of my document from portrait to landscape without changing all the pages?

    Hello Tracy,.

    You must use Acrobat Pro DC to do it with the help of the Pages organize the toolset.

    Thank you

    Abhishek

  • All Acrobat readers can open files with pages of mixed orientation (portrait and landscape)?

    All Acrobat readers can open files with pages of mixed orientation (portrait and landscape)? If this is not the case, what versions can? Thank you!

    Hi Sami,

    You can open files whose orientation of the mixed pages in all Adobe readers there is no constraint on the opening of the files with a different page orientation in Adobe readers.

    In case if you have any other question please let us know. We will be happy to help you.

    Kind regards

    Nicos

  • Portrait and landscape mode in Epub

    Hey!

    When I export from Indesign to .epub with a fixed layout - is it possible to use it in portrait and landscape mode on an Ipad or Iphone? Stays of mine in the landscape.

    Yes, you can change the orientation on FL EPUB. Of course you will find yourself with empty space if you change from landscape to portrait, because your formatting will change, not just the orientation.

    Visit this link:

    Technical advice &: how to create the double orientation fixed provision EPUB from InDesign

  • How to keep images splash screen specific for the portrait and landscape mode. for example, I have one 360 x 640 image for portarit and another image of 640 x 360 for the landscape

    How to keep specific splash screen for portarit and landscape mode images. for example, I have one 360 x 640 image for portarit and another image of 640 x 360 for the landscape.

    The two are different

    When the user holds the phone in portarit specific Portrait image should appear

    Similarly when the user holds specific landscape landscape image must be indicated without changing the quality of the image.

    IAM answer showing 1 portarit boot image using the

    Hi srk2012,
    You cannot apply 2 different splash screen inames for OS5, 6, 7.

    Check this link https://developer.blackberry.com/html5/documentation/rim_splash_element.html

    Thank you best regards &,.
    Laurent Subudhi

Maybe you are looking for

  • HP ENVY 7640 e All in One spring: printer - printing with locks on them paved preferences

    I'm looking for help with my HP ENVY 7640 e-all-in-one printer. I felt the single best face of disorder and I went to the printing preferences and I see there's pad locks on all parameters. So if I select a preference to change it, it does not change

  • T400 - will not be turned on, no lights

    Hi all I have an ' 09 beginning T400. It has been a fantastic portable, although now I only use it when I travel. Last year it worked very hot, especially when playing games. I use a portable fan to cool, don't think that it checked because I don't u

  • sending group emails

    the last few days that I was not able to get the tag during the initial bet in the address box, drop is what?

  • set a background image for a text box or label?

    Hey gang, I would like to put a background image for a text box or label. is there a way to do this? also if I put the bottom level of the container root and do the rest orders slightly transparent (opacity: 0.8 or something), the background appear t

  • Product key Quandry

    So I have a product key for this part number ' X 15-37362 "OEM Windows 7 Pro X 32 if I download this number 'X 17-59186' pat, which is Windows 7 PRO X 64 is my product key book?".