23 Replies Latest reply: Apr 24, 2012 2:32 PM by rob day RSS

    Fixing images

    PauletteP2

      Hi all,

      I'm a total InDesign novice. I started a document by copying and pasting screenshots into my document, which has now become huge. I think it would be better to save them somewhere and link to them, from what I've learned. Is there a way to do that since I only have these images pasted in the doc?

       

      Thanks,

      Paulette

        • 1. Re: Fixing images
          BobLevine CommunityMVP

          The only possibility I can think of would be to export to PDF and extract them for them there. But screenshots are not exactly high quality to begin with and I suspect the results will be less than stellar.

           

           

           

          Bob

          • 2. Re: Fixing images
            rob day CommunityMVP

            Is there a way to do that since I only have these images pasted in the doc?

             

            This sequence will get you a PS file with the original screen capture pixels:

             

            direct select the capture (white arrow tool)

            in the Transform panel set the horizontal and vertical scales to 100%

            Copy

            In Photoshop, File>New>OK>Paste>Return (PS sets the new file dimensions to the clipboard content)

            You can flatten this PS file, Save and link it into your ID layout.

            • 3. Re: Fixing images
              lilia@ Community Member

              I would do what bob suggests, however... (not a fan of answering questions without my laptop to check it out, but here goes) are the pasted images in the links panel?

              If they are you should be able to unembed them.

               

              Extract from the ID help file...

               

              Unembed a linked file

              1. Select one or more embedded files in the Links panel.
              2. Do one of the following:
                • Select Unembed Link in the Links panel menu. If there are multiple instances of the file, choose Unembed All Instances Of [Filename] in the Links panel menu.
                • Click the Relink button or select Relink in the Links panel menu.
              3. Choose to link the file to the original file or to a folder InDesign creates from the embedded data stored in the document.
              • 4. Re: Fixing images
                rob day CommunityMVP

                If you paste an object nothing shows in the Links panel—you can only unembed when a linked file has been embedded.

                 

                The sequence I described works. PS sees the copied capture as a Vector Smart Object—you'll get the same pixels as long as the scale is 100%.

                 

                 

                Left original right copied from ID

                Screen shot 2012-04-17 at 4.12.25 PM.png

                • 5. Re: Fixing images
                  PauletteP2 Community Member

                  What if I highlighted each section (with the caption, etc) and just saved them as snippets?

                  • 6. Re: Fixing images
                    rob day CommunityMVP

                    I don't think that will help, a pasted object exported as a snippet is still pasted when you place the snippet—it's not linked.

                    • 7. Re: Fixing images
                      lilia@ Community Member

                      whatever file type you choose... they MUST be linked to do what you need.

                      • 8. Re: Fixing images
                        33 Steps Community Member

                        I like Rob reply.

                         

                        If not, you can click unembed link and click "no", this will give you your embedded image that you can place in a folder and relink to document.

                        • 9. Re: Fixing images
                          rob day CommunityMVP

                          If not, you can click unembed link and click "no", this will give you your embedded image that you can place in a folder and relink to document.

                           

                          can't do that with a pasted object.

                          • 10. Re: Fixing images
                            [Jongware] CommunityMVP

                            Here is an interesting idea.

                             

                            A snippet is still that -- a snippet --, but it gets saved in a fairly easy parseable format: XML. Inline images are saved as Base64 encoded strings; on my Windows machine as a true color BMP, regardless of the "original" format. (I'm willing to bet this is platform-dependent and suspect it will turn out to be a 24-color PNG when saved on a Mac.)

                             

                            So it's theoretically possible to write a script that saves a selected image as a snippet, re-reads it into memory, scans for the embedded image, saves that into a separate file, and replaces the selected image with the actual linked file.

                            • 11. Re: Fixing images
                              rob day CommunityMVP

                              Why jump through the snippet hoop? As long as the scale is 100% copying the pasted image gets you the original pixels.

                              • 12. Re: Fixing images
                                rob day CommunityMVP

                                You can use Photoshop's Difference blend mode to check if two images are identical. Here I've pasted an image into Indesign (no link), copied the pasted image from ID, and layered it over the original in Photoshop—it pastes as a Smart Vector. Difference shows they are identical.

                                 

                                Screen shot 2012-04-18 at 7.50.45 AM.png

                                 

                                 

                                Screen shot 2012-04-18 at 7.50.58 AM.png

                                • 13. Re: Fixing images
                                  [Jongware] CommunityMVP

                                  Yeah, but I was suggesting a script (which itself only uses a snippet as a temporary file; no further hoops required) because it would be a one-click solution from within InDesign. Compare with your solution: copy, go to Photoshop, paste, save as new file, return to InDesign, replace selected image with file.

                                   

                                  And of course you'd also get 'the original pixels' that way.

                                  • 14. Re: Fixing images
                                    rob day CommunityMVP

                                    But I wonder if you really need the snippet for a script. With pasted images there's no proxy—it's a vector object—so if you script a copy, the actual image is on the clipboard. With AppleScript you could save the contents of the clipboard via Photoshop or maybe skip PS and use Image Events for a direct save.

                                    • 15. Re: Fixing images
                                      Eugene Tyson CommunityMVP

                                      When you make the PDF - open it in photoshop - there is an option at the top of the dialogue box called Images - use that.

                                       

                                      And you can open all the images from a PDF using this feature.

                                       

                                      Save them. Then place them again within the document.

                                      • 16. Re: Fixing images
                                        rob day CommunityMVP

                                        That works if you don't need the entire image. If you've cropped it inside if a frame in ID you get a cropped image in PS

                                        • 17. Re: Fixing images
                                          rob day CommunityMVP

                                          I stumbled upon an AppleScript that saves clipboard data today. Turns out if you copy a pasted image it's a PDF on the clipboard, so it was easy to write an AppleScript that saves any pasted images to a folder as PDFs and links them back in. If JavaScript lets you write clipboard data it would be easy to replicate:

                                           

                                          http://www.zenodesign.com/forum/LinkPasted.zip

                                          • 18. Re: Fixing images
                                            PauletteP2 Community Member

                                            Thanks everyone! A little intimidating but I'll give it a try.

                                            • 19. Re: Fixing images
                                              rob day CommunityMVP

                                              If you're on a Mac the script I posted should work, but make sure to save a copy of your layout before running the script.

                                              • 20. Re: Fixing images
                                                PauletteP2 Community Member

                                                Just as an update...the quality came out too low when I copies them into Photoshop. Boo. I'll just have to retake the screenshots. Lesson learned.

                                                • 21. Re: Fixing images
                                                  rob day CommunityMVP

                                                  Before you copy the screen capture in ID you have to set the vertical and horizontal scale to 100% in the Transform panel. Are you doing that?

                                                  • 22. Re: Fixing images
                                                    PauletteP2 Community Member

                                                    Yep. I'm always careful not to stretch my images anyway. But I think a copy of a copy off a screen is just too low res.

                                                    • 23. Re: Fixing images
                                                      rob day CommunityMVP

                                                      If you haven't scaled the captures remaking them won't give you higher resolution.

                                                       

                                                      There are two different scales the scale of the holding frame and the scale of the image are you sure you are selecting the image and not its frame:

                                                       

                                                      image selected with white arrow tool 51.67%

                                                       

                                                      InDesignScreenSnapz001.png

                                                       

                                                      frame selected with black arrow tool 100%

                                                      InDesignScreenSnapz002.png