Hi, question on the short side to resize images

Hi, I have PS ext CS6 64B on pc win 7, I have several files (psd) images, I want after I finished editing all automatic flatern of psd files, change the size of each image to 1000px on the shortest side (are images of portrait and landscape) and save in format jpg at 100% quality. I know how to use the function of batch in PS, I know to do that for folders with images with only the width being shorter side or only for folders with height being the shortest side, but the problem is that the images are mixed, even in the same folder, so I have to do a lot that opens the file , ftattern image, and run the script which will determine who is the shortest side (width or height) then resize to 1000px to the short side and save in jpg with 100% quality and close the image.

The script I think it's like this:

If (width, height)

resize the width 1000

on the other

resize the height 1000

But I'm not good at all on coding, so I ask here for help, how can I do?

My apologies, I forgot to check if your settings are in pixels. Try this;

var strtRulerUnits = app.preferences.rulerUnits;

var strtTypeUnits = app.preferences.typeUnits;

app.preferences.rulerUnits = Units.PIXELS;

app.preferences.typeUnits = TypeUnits.PIXELS;

var docRef = activeDocument;

var thewidth = docRef.width;

var theheight = docRef.height;

If (thewidth<>

docRef.resizeImage (1000, null);

}

else {}

docRef.resizeImage (null, 1000);

}

Tags: Photoshop

Similar Questions

  • So my ipod was a friends account on this topic, so I deleted all the data on it, and now, all this shows is a button to itunes with the short side of the presentation of the charger to it? will not do anything else

    I erased my information from friends on my ipod cause she has created an account on it, so I deleted his email, images, music and everything and now its a screen with a button itunes on it and the small part of my white charger pointing to it. It won't do anything else and it is fully charged.

    Hello

    Please post your question in the following forums.

    iPod: Apple support communities:
    https://discussions.Apple.com/community/iPod

    Concerning

  • Question on the black side prevents the CS6

    I export media and HD 1080 original, I use the preset H264, everything seems perfect in Media Encoder, once it's coded image does not fill the screen I have black bars on the left and right.  Why?  What can I do?

    Best estimate is that you must indicate your player of choice for your film "unsqueeze" so that it fills the screen.  They don't do this automatically.

    Or, you export to the correct resolution of 1920 x 1080.

  • Get fine lines on the 2 sides of each image when I paste and combine

    Hello. I'm turning an image 45 degrees using the custom rotation and then cut the picture in half with the crop tool. I duplicate the image, horizontally back and recombining the two images. The problem is that I get these lines thin and pale, appear, which are particularly visible when I enlarge the image. I copy / paste before and not had these lines appear. I'm going nuts trying to figure out what is happening. I use 3 elements. There must be a way to recombine these images without these lines appearing. I think it is in this context, showing through. The lines are perhaps a few pixels wide. Not wide at all.

    You can select the tool move and using the arrow keys, move one of the layers

    during a few pixels and then do the Shift + Ctrl + Alt + E to merge.

    You may have to merge layers a couple of times to get rid of the seams.

    Before repositioning and fusion

    After repositioning and the merger of two times

    MTSTUNER

  • Default AirPrint of reversal of the rather long and short side (printer Photosmart 5520)

    Hello

    When I used to print from my iPad via AirPrint on both sides on my printer HP Photosmart 5520, it used to print, so that you may browse on the long side. For some reason, it changed to printing, so it switches to the short side.

    How can I change by flipping on the long side?

    My son has discovered a fix for this problem. We have now tried on three iPads and whenever he has set.
    The solution is to disable double-sided printing in the options when you are about to print a document and then turn it back on.
    After that the only time anything printed duplex will be sharp long printed not short edge.
    It is not a rocker, I can't get my iPad to print double-sided on the short side now (not that I want to), for some reason once you turned two-sided printing off and on again, long-back becomes the permanent default.
    Weird!

    P.S. He arranges for all applications.

  • A question on the single page 'spreads '.

    Hi all. I have a question about indesign that professional designers, could well be very simple.

    I create a menu that will be the A4 (kind of like the letter to the United States)

    However, this menu will be folded in half on the short side to create a thin top menu. The menu will run over two pages.

    Confusion starts now because I need to view the menu in order to know which page goes to the rear from the front. It is because I do have a gap of two pages on one A4 sheet.

    I hope that makes a bit of sense. In essence, I wonder if there is a way to make a document with gaps, which then prints on a sheet of A4, or indeed how printers etc treats it this or if it is not done?

    How could manage the creation of NGO al thin multi menu page that will be printed on A4 (as I need to print)

    Thanks for all tips, I don't know yet what to look for!

    Depends on. On windows, if you have the virtual printer Adobe PDF installed, you can print that. On Snow Leopard, you can print to file, and then distill.

    You can also use a script to impose the pages, then spreads to the export to PDF...

  • Duplex printing only on the short edges?

    I literally just got my HP 6700 and he bought mainly for double-sided printing function, because I'm a student. When I went to print double-sided, it was only an impression on the short edge no matter what setting I put it on (impressions short edge to edge settings long both the short side in the printer dialog). I checked every setting I could think perhaps, but the printer still refuses to orient the pages correctly. It is extremely frustrating, especially when I spent a lot of money on a purchase of this new printer. Is it possible to fix this?

    I use Mac Os X version 10.9.4 and print normally on Google Chrome. All the software has been downloaded automatically when I connected my printer to the network.

    Oh wow, thank you for providing such a post detailed!

    If you do not have the driver tab, then something is wrong with this driver; You install the correct one or not install the full features software. Before going further, please uninstall the HP software currently installed on this HP document uninstalling the software of the printer.

    Please perform method 1 and 2 of this document. Once this operation is completed, you will need to download this software from HP:

    I even provide the link right here for you, so you can download it now. Please let me know if that makes a difference.

  • questions about the updates and drivers

    I have 2 questions.

    1. How can I reinstall an update failed to install the first time?
    2. If I can get the driver I need mass storage?

    Hello Sherry,

    Question #1: Go into Control Panel, click Windows Update, and then run the Check for Windows Update manually. Download and install the missing update. If you know that you have missed one, but his shoeing not try refreshing the page until the missing update reappears and you can install it then.

    Question #2: The short answer is to go the manufacturer of the mass storage device and look for driver that corresponds to your operating system. For this, you will need the brand and the specific model of your computer, the version and the depth of your Windows 7 system and brand and the specific model of your mass storage device number.

    These instructions are generic as your questions were also. I don't want to insult your intelligence by giving you more that you need, please post here with any details you need.

    Kind regards

    BearPup

  • Hi, I have 2 questions about the miniatures in Muse:

    1. is it possible to have the photos in sizes different-how can I do this?

    2. is it possible to make an in black and white - where is the option of the desaturation of the image?

    Thank you in advance for your help!

    Maja

    The answer is 'no' to both questions, but the short answers are rarely complete.

    The slideshow widget does many things for you automatically, but it is limited to images and a single block of legend. It is also limited to all thumbnails and images of heroes have the same size.

    The composition widgets are in many ways more powerful and much more flexible than the slideshow widgets, but they do very little for you automatically. If you have a small number of images/elements to display, you can probably get what you are looking for using a widget of Composition as the trigger of a composition containers may vary in size and you can use different background for the States of the trigger images for the desaturated effect.

    Composition widgets are very powerful, but perhaps too labor intensive if you have a larger number of objects/images available.

  • the easier way to resize the image


    Hello
    What is the best way to resize images? I searched the forum and search engines, only I found things was custome tags or components.

    I don't have the part to know where I can use tags custome.

    Can someone help me with this?

    Thanks in advance!

    Some time ago I was looking for the same thing but could not find any solution that does not involve a component or a custom tag...
    I ended up going with a custom tag called 'Jpegresize '. It works very well and is easy to implement and use.

    URL: http://www.chestysoft.com/jpegresize/default.asp
    A useful way to work on the image dimensions: http://awads.net/wp/2005/06/16/get-image-dimensions/

  • Batch resize images of different sizes

    Hello

    I hope someone can point me in the right direction.  In the past I've used the script to batch image processor resize images of same sizes, but now I have a few hundred images that are all different sizes.  I would like to resize these images so the long side of each image is resized to a specific size, while maintaining the current proportions.

    I'm using CS5.

    Thanks in advance for any help,

    Adam

    In the image processor dialog box, choose the format, select Resize to fit

    and enter 200 in the height and width of the boxes.

    Click the screenshot below to enlarge

    MTSTUNER

  • Resize photos to the long side in the size of the Image

    I want to use the size of the Image in the Image Menu to resize photos on the longer side (example: 3000 x xxxx).  I know that I can do this in the processor for Image and Photo to adapt, but I want to enjoy the new resample in CC2014, preserve the details.  Is it possible to do it in the size of the Image.   Second question is if this is not possible what method of resampling Image Processor and Photo Fit uses it to resample images to a larger size.

    Thanks for the help.

    W Thorne wrote:

    I want to use the size of the Image in the Image Menu to resize photos on the longer side (example: 3000 x xxxx).  I know that I can do this in the processor for Image and Photo to adapt, but I want to enjoy the new resample in CC2014, preserve the details.  Is it possible to do it in the size of the Image.

    Check her resample, interpolation together to preserve the details have a width and height link to force the image resize it current aspect ratio, use of the width or the height of the menu drop down click pixel, set the side you want to be 3000 to 3000. Cannot be batch without a small script to set the long side to 3000

    Second question is if this is not possible what method of resampling Image Processor and Photo Fit uses it to resample images to a larger size.

    The standard image of the processor which is part of the Photoshop Image uses made the adjustment to resize the image always interpolation bicubic user. There is a process of image better second plugin script that you can download from the web once installed you will find in the file menu > Automate > Image Processor Pro.  With Image Processor Pro, you can define which method of interpolation should be user for each resized image used. If the script is better then the standard image processor and works under Photoshop CC X got fed up with Adobe and will support no CC in order to preserve the details cannot be resolved.  It would be possible to add an option if the version of Photoshop using the script supports the details preserved, it can be easy to add to the menu drop down and in the code. As you can choose one of the other methods

    The Image Photoshop plugin is being implemented in a Photoshop script written in javascript.   It would be very easy to change your copy of "If Image.jsx" always use preserve detail in CC. The must be changed line is an app.activeDocument.resizeImage '(newWidth, newHeight, resolution, ResampleMethod.BICUBIC);  «Change it will only work if Adobe updated the scripting support cc to preserve detail.»  In Adobe CS6 forgotten update scripts to support BicubicAtomatic fix in the superscription CS6 but not the perpetual CS6.  I also note that preserve the details is not an option to interpolation in Photoshop CC preferences for the interpolation of the image.

  • I can't see the screen to resize, so that I can let it slide, or make smaleer top, bottom, left side or the right side. I need to do in order to

    Impossible to move the screen image. I fly over the edge of the arrow of the mouse to drag the inside of the screen and it won't work. Neither left nor right, neither the top or bottom. I have to be able to do this because my monitor has an error of graphics on the right side of the screen-screen covering about two inches of width of the length of the right side of my window screen image, so I do not see where to put my mouse cursor to scroll vertically. In addition, sometimes I want to remake the image of the window longer or shorter, and I can't do same. It seems that it is a matter of "settings". Just do not know how to activate it. Help, please.

    See next post

  • New AOL e-mail: one quarter of the screen is blank on the right side, reducing the space for the e-mail subject line. Resize attempts do not work on the right side, so I can't expand the e-mail subject line

    The new AOL E-mail look, which yesterday began a quarter of the screen is blank on the right side, thus reducing the space for the e-mail subject line, which limits its usefulness. Resize attempts do not work on the right side, so I can't expand the e-mail subject line? Running XP pro and Mozilla Firefox 5. No problem with I.E.

    Thank you, these settings were already in place. AOL said now erase the cache, cookies and history... to solve, which worked. (I deleted the cache and a story time.)

  • Satellite Pro M70: Question on the port on the left hand side

    Another question regarding the Pro M70 PSM75E, next to the hard drive (left side) there is a port which you can take off. I took it of and it looks like a chip grafx or something: s someone with the M70 not what it is.

    Thanks again

    Hello

    Well, there are of many Satellite Pro M70. It s a great series.
    But for example Satellite Pro M70-110 has a PCMCIA Type II slot.
    You can use the different PCMICA card in this slot. But they must be compatible.
    I guess this slot machine, you found a plastic Board. This is only for security.

    However, if you want to learn more about your device, I would recommend reading the user manual which must be preinstalled on your laptop. You will find very, very, very ;) useful information.

Maybe you are looking for

  • Qosmio G50 - 10J - cannot install Vista Ultimate again

    Hello I just bought a G50 - 10J with Vista Home Premium (German) installed. I tried to install Vista Ultimate Edition (in English) and formatted the C: drive (where vista was preinstalled); When installing, it freezes at the part "Complete Installati

  • labview 6.1 with windows system error 7

    I use vi Labview 6.1 to control an oscilloscope Tektronic and a universal pulse BNC via GPIB-USP connection generator. The vi worked very well with the windows XP system. The system was changed to Windows 7. Then the error (Trigger signal is not reco

  • cannot load 32 bit game on my windows 7 64 bit system

    There are a few old games I like to play like Civilization II and sim city 4 Deluxe Windows 7 will not be installed.  has any body else found a solution?

  • Adaptive server anywhere database engine stopped working

    I use Quickbooks 2007 and frequently get this message requiring QB to interrupt operations.  Is this a MS of Intuit problem and how it can be corrected?

  • Help please on startup. Way for the app to identify himself.

    BB Storm JDE 4.7.0 My goal is to create an application that can take an icon and a URL and create a home screen icon when you click it, it will open a web page (web link or launcher). Allows to call the application that makes the shortcuts of the 'Ma