Can there be a script to reduce the images by a percentage?

Hello

I'm trying to decrease the file size of a .swf file.  To do this, I'll have to export all images in flash in photoshop, then reduce the size to a certain % to maintain the proportions of the origianl images in the. Fla.  After they have been downsized, I have to then reinsert them into flash and then place them were they should be to ensure that everything is in place correctly.  yeesh.

So to make my life a little easier, is there a way to set photoshop so that these images (all in a certain folder) can be treated so that they are say, 60% of the original size for each of them?

Any help would be greatly appreciated.

If you can create folders on each image that Photoshop should be able to do for you that action of one simple step should you need not a script. Use file menu > Automate > batch Point dialog box to your files and your little batch resize action.  Checking size of Resample image and constrain select the interpolation like Bicubic Sharper method and set the width on the pecent of the initial width like 90%

Tags: Photoshop

Similar Questions

  • Can write us "PowerCLI Script" to get the details of card RAID HP (Firmware & Driver)?

    Can write us "PowerCLI Script" to get the details of card RAID HP (Firmware & Driver)

    For example: native ESX command below shows desired output for me.

    But we needed equality PowerCLI ESX command below script

    # cat/proc/driver/cciss/cciss0

    cciss0: HP Smart Array P400i controller

    Board ID: 0x3235103c

    Firmware version: 7.22# cat/proc/driver/hpsa/hpsa0

    hpsa0: HP Smart Array P410i controller

    Board ID: 0x3245103c

    Firmware version: 5,70

    Driver version: HP HPSA driver (v 5.0.0 - 17vmw)

    The extracted following PowerCLI you will get server and type of controller, firmware version and the hpsa/Smart Storage Array controllers driver version based of:

    Get-VMhost | Sort | Select Name, Model,@{N='Controller Type'; E={(Get-VMHostHba -VMHost $_ | ? {$_.Model -imatch '.*(hpsa|smart).*'}).Model}},@{N='Controller Firmware'; E={($_.ExtensionData.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo | ? {$_.Name -like '*hpsa*firmware*'}).Name}},@{N='hpsa Driver Version'; E={($_.ExtensionData.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo | ? {$_.Name -like '*scsi-hpsa*'}).Name}} | Format-Table -Autosize
    

    The sample output:

    
    Name                     Model                Controller Type   Controller Firmware                           hpsa Driver Version----                     -----                ---------------   -------------------                           -------------------esxihost1022.local    ProLiant DL380 G6    Smart Array P410i    HP Smart Array Controller HPSA1 Firmware 6.40    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1023.local    ProLiant DL380 G6    Smart Array P410i    HP Smart Array Controller HPSA1 Firmware 6.40    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1024.local    ProLiant DL380 G6    Smart Array P410i    HP Smart Array Controller HPSA1 Firmware 6.40    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1033.local    ProLiant DL360p Gen8    Smart Array P420i    HP Smart Array Controller HPSA1 Firmware 5.42    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1034.local    ProLiant DL360p Gen8    Smart Array P420i    HP Smart Array Controller HPSA1 Firmware 5.42    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1041.local    ProLiant DL380 G5    Smart Array P400    HP Smart Array Controller HPSA1 Firmware 7.24    VMware scsi-hpsa 5.0.0-17vmw.500.0.0.469512 2011-08-19 01:58:59.000esxihost1042.local    ProLiant DL380 G5    Smart Array P400    HP Smart Array Controller HPSA1 Firmware 7.24    VMware scsi-hpsa 5.0.0-17vmw.500.0.0.469512 2011-08-19 01:58:59.000esxihost1160.local    ProLiant BL460c Gen8    Smart Array P220i    HP Smart Array Controller HPSA1 Firmware 5.22    Hewlett-Packard scsi-hpsa 5.0.0-40OEM.500.0.0.472560 2012-08-24 21:04:51.000esxihost1161.local    ProLiant BL460c Gen8    Smart Array P220i    HP Smart Array Controller HPSA1 Firmware 5.22    Hewlett-Packard scsi-hpsa 5.0.0-40OEM.500.0.0.472560 2012-08-24 21:04:51.000
    
  • How can I write a script to set the maximum pixel dimensions?

    I need lots of JPGs and limit the maximum size of 500 px. This must apply to the largest side of the image, either in height or width. The other side should auto size proportionally. I currently have to make these changes to size manually. I have not found any scripting language or function which will allow me to set the size of larger pixel to 500 px, no matter what size is the most important.

    Example:

    1. If the image is 1000 w x 750 px: px, I want the script to resize the image proportionally to the largest side, change the width to 500 px

    2. If the image is 750 px x 1000 px h w, I want the script to change the height to 500 px and proportions are consistent for the width

    All ideas are welcome grately.

    Thank you

    Linda

    Create an action that use file - automate - Fit Image.

    I think that there may always be a bug that this should fix...

    Mage http://www.PS-scripts.com/BB/viewtopic.php?f=10&t=3370&p=15152&Hilit=Don%27t+Enlarge+fit+i & sid = ea73e8349aaf965015a4a351340e865d #p15152

  • can anyone provide a link to insert the image with the text on the button in the apex 4.2.6

    can anyone provide a link to insert the image with the text on the button in the apex 4.2.6

    ReemaPuri wrote:

    in the workspace image:-resign.jpeg

    As a button? Seriously?

    Ok. First of all, because the image already contains text, there no point in including the same wording in the form of text on the button. Accessibility requirements can be met using re-sign as alternative text. 4.2, create an image button:

    Tag/Alt text: Re-sign

    Static ID: re - sign

    Style button: Image

    Button Image: & WORKSPACE_IMAGES.resign.jpeg

    To make the image looks more like a button, add the following CSS to Inline CSS property page:

    #re-sign img {
      margin: 0 2px 2px 0;
      border: 2px outset;
      border-radius: 4px;
    }
    #re-sign img:active {
      margin: 2px 0 0 2px;
      border: 2px inset;
      border-radius: 4px;
    }
    

    Finally, there is a bug in 4.2 that generates the incorrect URL for the button images, which requires dynamic action of Page Load to fix.

    Event: Loading the page

    Action: Run the JavaScript Code

    Code

    var resignImg = $("#re-sign img");
    resignImg.attr("src", resignImg.attr("src").replace("/i/", ""));
    
  • How to run a script for all the images in a folder?

    How to run a script for all the images in a folder?

    You can assign your script to an action, then use processor by batch or image with the option apply to all subfolders.

  • I have many windows security updates and are now too much room. Is there a program that will reduce the amount of space being taken up?

    I want to free memory space and have years of security updates to windows of the pak series 3 services. Is there a way to free up space or I will damage the operating system?

    There are a number of things you can do to- temporarily - free up disk space.  The only real solution, however, is to get a bigger internal hard drive.   You can move the data to an external drive, but if it's the data that you use frequently, slower access times may annoy you.  Therefore, I do not recommend that you move your My Documents folder in its entirety on an external drive, but you can certainly do this by following the related instructions.

    • You can run Disk Cleanup (start > run > cleanmgr > OK)
    • You can reduce the size allocated for the restoration of the system to about 1 GB (right click on desktop > properties > system restore > settings)
    • You can disable hibernation (if you don't use it) (right click on an empty spot on the desktop > properties > screen saver > power > Hibernate)
    • You can disable the indexing of the drive, which will also speed up your computer a bit (http://lifehacker.com/031440/turn-off-indexing-and-speed-up-windows-xp)
    • You can reduce the size of your Internet browser cache (depending on the browser that you use)
    • You can remove most of the $NTUninstallKBxxxxxx files $ following the directions here: http://windowsxp.mvps.org/Hotfix_backup.htm (read the warnings in the gray box first)
    • See also:

    " How to recover disk space on Windows Server 2008 and Windows XP computers? ."

    " Forty ways to free disk space ."

    But none of these answers you will earn really large amounts of space for very long.  The term solution time is a bigger hard drive.

    In the meantime, download and run JDiskReport, that will show you graphically what files take up more space and seem to so indicate what files you must move it to your external drive.  If you want to move an application on an external drive, you will need to uninstall and then reinstall it specifying your external drive as the installation location (and even then, it is likely going to install some files on your main system drive).  You can not simply move the files.

  • Please can there be an option to have the tabs to go directly to its home page?

    as above

    Hello

    You can change your new tab page by clicking on:

    1. In the address bar, type Subject: config and press enter. The subject: config "this might void your warranty!" warning page may appear.
    2. Click on I'll be careful, I promise! to keep the comments: config page.
    3. Search for browser.newtab.url
    4. Double-click the click of the straight line / line and select 'Edit' to change to a site of your choice. By selecting "Reset" will put it by default, which is on: newtab

    Unfortunately, I do not know if there is an easier method without the use of an extension. Hope that helps you out.

  • printer-i can, t get my text to reduce the print size, it is also biased

    the size of my text has been o.k., then the next day, the print size was too large, the entire page is now off to the right. I tried to reduce the size of printing with the settings, but it

    won, t downsize.what can I do to get gauged right?

    Hello

    1. what operating system do you use?

    2 did you change on your computer?

    3. What is the brand and model of the printer number?

    Method 1:

    If you use windows7, I suggest you to follow the links and check out them.

    Try to run the printer Troubleshooter and check that if it helps, here is the link:
    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    Why can I not print?

    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-print

    Method 2:

    I also suggest you to check the printing preferences. Go through the printer manual on how to change the printing preferences

    For Windows Vista

    Choose printing options

    http://Windows.Microsoft.com/en-us/Windows-Vista/choosing-print-options

    For Windows 7

    Choose printing options

    http://Windows.Microsoft.com/en-us/Windows7/choosing-print-options

  • Reduce the image size after scanning

    I have a problem, identify ways to reduce an image in size so it's pretty small to put in my remote (it's the words that I am allergic to penicillin in many different languages, preceded by the corresponding indicator).  I can crop the image so it shows just the words and the flag, but then I want to re-size (but this is grayed out in the list). I am at a loss. I've never had an all-in-one before so am probably being a bit thick I know, but you would appreciate the help.

    Thank you. AnneF

    What model is your all-in-one?  What program you use to edit or print the image?

    Kind regards
    Bob Headrick, Microsoft MVP printing and imaging

  • Enlarge/reduce the image for print on HPC309A

    How to enlarge or reduce the size of the image when copying on the HPC309A?

    Thanks for your help,

    TEHACHAP

    Press OK button to turn on the screen if it is in power save mode.  Move the up or down arrow to 'Copy', press OK, press the 'Settings' button then scroll down to 'Size', OK, then scroll upward or down to the appropriate setting.  If you select "Custom", OK, you can use the up and down arrows to select the reduce/enlarge scale factor, then press OK.

  • Reduce the image size in e-mail

    How can I reduce the size of the photos when they are sent with Windows Mail?  I know that I can reduce the size by selecting the image directly and by inserting in emails, but I want to send several photos in an email.   Thank you!

    How can I reduce the size of the photos when they are sent with Windows Mail?  I know that I can reduce the size by selecting the image directly and by inserting in emails, but I want to send several photos in an email.   Thank you!

    Open Windows Photo Gallery > you can select one image at a time > click email at the top > select your image size > click on attach > repeat the same procedure in the following image and so forth

    When in fact all the photos you've selected and resized will be attached to the same e-mail in Windows Mail. For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Why print multiple pages per sheet reduce the image?

    Two pages of 5.5x8.5 must print 2-up on 8.5 x 11 WITHOUT reducing the size of the image. Taxation of basic page! (I'm talking about Acrobat DC, specifically.)

    The answer is very simple.

    Acrobat does not currently a tool of imposition of real page. How Acrobat reduced the size of the pages has to do with areas conscious as defined by the printer driver and therefore, even if you try to make a booklet of 5.5x8 pages on paper 8.5 x 11, Acrobat reduced the size of the pages to accommodate the unprintable margins.

    There are third party for Acrobat plugins that perform this and much more sophisticated tax functions.

    -Dov

  • Is there a way to flatten all the images and the text when you optimize?

    I want to flatten all the images and text (not only those with transparency) in PDF files to ensure that no one can steal my images and work. Are there settings that I can choose when I save as optimized in Acrobat? This is on a Mac. Thank you.

    Flattening, but you use that term, does not extract images from a PDF. You can apply security, products from Adobe that will prevent the extraction of content from a PDF file, but that's all. If it is in a document, it can be extracted.

  • How to make a script to resize the image to fit the exact framework?

    Good afternoon

    My friend works on a task to do several images to adapt to the size of the image 500 x 700 px.

    We are working on this script, if she sometimes makes the height above 700 px.

    Can anyone help to change?

    ___

    doc = app.activeDocument;

    doc.changeMode (ChangeMode.RGB);

    var fWidth = 500;

    var fHeight = 700;

    If (doc.width > fWidth, 'px') {}

    doc.resizeImage (UnitValue(fWidth,"px"), null, null, null, ResampleMethod.BICUBIC);

    }

    else {}

    doc.resizeImage (null, UnitValue(fHeight,"px"), null, null, ResampleMethod.BICUBIC);

    }

    ___

    The thing is the need of the image to have a ratio of 5:7 to fit 500px 700px area.  An image can have a width and height of any number of pixels. All a camera will have a width and a height greater than the 700px. If your script above would create a very distorted portraits bouquet close

    Download the package of my action craft he has a script that I wrote for use in actions that make it very easy to do what you want.

    Scripts can be used in actions and actions can be used in scripts.  Photoshop scripts can also be programmed as a Photoshop plug-in.  When a plug-in is saved in action the plug-in saves the setting you used in its dialog box in the action stage. When the Action is played.  The plug-in does not display the dialog instead, it will use the setting saved in step of the action.  No user interaction is required action may be batched.

    Most Photoshop users cannot write scripts, but it have no problem using scripts to write than others.  As Adobe Photomerge, Image Processor, image Fit etc...

    I wrote a plugin script using Adobe adapt design Image that will make the selection of image format while maintaining the orientation of the document.  So if you have a 4:3 camera and a collection of pictures of her you landscape of 4:3 and 3:4 Portraits.  If you use my plugin aspectratioselection script in action and a followed centered 3:2 aspect ration of a culture of image and batch as the action on your images you would be left with landscapes of 3:2 and 2:3 Portraits.  The three step action, that's all you need registration.

    menu stage 1 file > automation > AspectRatioSelection...  In his dialogue game 5 7 central rectangle replace feather selection 0

    menu step 2 Image > Crop

    menu step 3 file > Automate > Fit Image in its width and height 700 px value dialog box

    You wind upward with 700x500px landscapes and portraits of 500x700px.

    I have created at least six of the lately. I use to do slideshows for my various devices.   I put the images I want to use in a folder of image source on my desk and play action creates six slide shows is a slide in a slide show on my desktop folder. In six of the subfolders. The Action is all two steps. The first step is running a script that deletes the folder slide shows.  The second step is a step in Image Processor Pro plugin.  This process, the image source in the slide shows folder file, save six series of jpeg images, it's six subfolders. Galaxy tab display 16:10 sideshow 2560 x 1600 and also as a 3:2 slideshow 2400 x 1600.  Surface Pro 3 sideshow 3.2 2160 x 1440, iPo4 4: slide show of 3:2 960 x 640, HDTV 1920 x 1080 and 4kTV 3840 x 2160. I take a coffee break... While the action runs.

    Package of shares of crafts UPDATE August 10, 2014 added conditional measures Action Palette tips.
    Contains

    Example of
    Download

  • Script to place the image folder to 100%, one image per page?

    I'm looking for a script that can drop a folder of images in an ID doc to 100%, one page per image, with the name of the file image below. I tried various Board-contact scripts, but these scale images to fit the page. I need the images to be placed at 100%, so a customer can view them to their exact size.

    Any help would be much appreciated. Thank you!

    Try this,

    var doc = app.activeDocument;
    var w =doc.documentPreferences.pageWidth;
    var h = doc.documentPreferences.pageHeight;
    doc.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;
    var _folder = Folder.selectDialog("Select a folder");
    var _files = _folder.getFiles();
    
    for(var i =0;i<_files.length;i++)
    {
            if(_files[i] instanceof File)
            {
                    var image = doc.pages.item(-1).place(_files[i]);
                    var gb = image[0].parent.geometricBounds;
                    var imageheight = gb[2] - gb[0];
                    var imagewidth = gb[3] - gb[1];
                    image[0].parent.geometricBounds = [(h-imageheight)/2,(w-imagewidth)/2,(h-imageheight)/2+imageheight,(w-imagewidth)/2+imagewidth];
                    image[0].parent.fit(FitOptions.CONTENT_TO_FRAME)
                    doc.pages.add(LocationOptions.AT_END);
                }
        }
    doc.pages.item(-1).remove();
    

    Kind regards

    Cognet

Maybe you are looking for