3 Replies Latest reply on Mar 18, 2017 12:24 PM by rob day

    Resize the contents of every page

    andrewhuntermaine

      I've put together a 176 page graphic novel where each page consists of a single png image. Every png is the same dimensions and the same position on the page. I'd like to scale all of those images by a set amount. Is there a simple way to do it?

      I know I can batch scale everything in Photoshop but I'm hoping InDesign has a simpler solution.

       

      Thanks

        • 1. Re: Resize the contents of every page
          Michael Witherell Adobe Community Professional

          Cmd+Opt+4 is the Transform Again command. Without resorting to a script, this function, under the Object menu > Transform Again, allows you to go to each page, select the graphic, and perform the same change as the first one you did.

           

          To speed that up a bit, you could also use the Find/Change dialog (Object tab) to Find Next to the graphic on the next page. It would become a rhythmic matter of pressing Opt+Cmd+F to go to the next frame; then press Cmd+Opt+4 to perform the Transform Again command which repeats the first manual size transform you did on the first graphic frame.

           

          If you would like to spend more time on a script that zips thru the whole thing, but with a bit of code tinkering, I saw this in the forums:

          Simple Graphics Frame Resize Script

          • 2. Re: Resize the contents of every page
            andrewhuntermaine Level 1

            Thanks Michael, that did the trick!

            • 3. Re: Resize the contents of every page
              rob day Adobe Community Professional & MVP

              I'd like to scale all of those images by a set amount. Is there a simple way to do it?

               

              Probably too late, but the script would be simple because you want to scale all of the document graphics to the same percentage

               

              This javaScript would scale all the document's PNGs to 75% from the center—just change the 75s to your desired percentage.

               

               

              app.layoutWindows[0].transformReferencePoint=AnchorPoint.CENTER_ANCHOR
              var a = app.activeDocument.allGraphics
              for(var i=0; i < a.length; i++){
                  a[i].absoluteHorizontalScale=75;
                  a[i].absoluteVerticalScale=75;
              }