Script with condition for picture resizing

Ask a Question related to Adobe Photoshop 7, CS, CS2 & CS3, Design and Development.

  1. #1

    Default Script with condition for picture resizing

    Hello,

    I have about 3.000 pictures. Some of them are too large and I have to resize them. I want to write a script to do it but how to resize only pictures who are too large and not all picture ?

    I would need a condition like:
    If widht>100 px then
    resize to 100px

    I hope I managed to explain what is my problem

    Thanks for your help
    wAx
    wax Guest

  2. Similar Questions and Discussions

    1. #39098 [NEW]: parser bug: dash after if condition makes script crash without any error
      From: michael dot axt at mindcox dot com Operating system: Linux x86-64Bit PHP version: 5.1.6 PHP Bug Type: Scripting Engine...
    2. Resizing picture box inputting dimensions
      IDCS - What step am I missing to accomplish resizing a picture box? I create a graphic frame, say 2.5" wide x 2". Import image with the direct...
    3. Picture resizing with PHP
      Hey guys, I've got a db that i have populated with the address to certain images. When I call those images with php I want to resize them on the...
    4. condition
      hey jan... i do it like this: function existRec (name) { for (i=0; i<recs.length; i++) { if (recs == name) { return true; } } return false;...
    5. ?: condition
      eh, probably dumm question but why is asking to return a value not working here? for (var i=0;i< x.length; i++) { x ? : return true : null; }
  3. #2

    Default Re: Script with condition for picture resizing

    I think you do need a script. You should check out 2 things:

    1) The downloadable scripting plug-in from Adobe - it's free and has documentation.

    2) The "Scripting Plugin" subforum [at the head of this topic list.

    Good luck.
    Colin Walls Guest

  4. #3

    Default Re: Script with condition for picture resizing

    BTW, there are other tools that can do this out of the box.

    Photoshop Album is one possibility.
    I have an idea that Photoshop Elements has an automation facility to do this.
    There are certainly other, non-Adobe products, like IrfanView [?] which can do that kind of thing.
    Colin Walls Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139