22 Replies Latest reply on Jun 10, 2016 9:40 PM by johnrellis

    Save multiple crop settings for a single image?

    bmsramya@gmail.com Level 1

      Let me start by describing my needs. I need to generate proofs for my shoots. I'd like to export images with different aspect ratios for target devices, ie iPad, Android phone, 16:9 TV, etc. What would be really great is if I can select a named "crop setting" in the export window and generate JPGs based on the chosen setting. I've searched all over the place, all seem to talk about presets, virtual copies, etc, which really doesn't address what I want.

       

      Fundamentally I'd like to be able to save a handful of crop settings (unique crops but with common names) for each image. I will create the crops manually as I have to pick the position and size for each carefully. For example, on a 4000x6000 image I have these crop settings (for a fairly small area of the image):

       

      1. iPad [settings: top-left coordinate (500,500), ratio 4:3, width2000]

      2. Android [settings: top-left coordinate (500,400), ratio 8:5, width 2400]

      3. HDTV [settings: top-left coordinate(500,450), ratio 16:9, width 2200]

       

      As you can see each crop is different becasue I want to be precise about how the cropped outputs look. Then at export time, I want to be able to multi-select a bunch of images and pick say "iPad" crop setting to create the JPGs in a batch.

       

      Does anyone know if this is doable? Is there a custom plugin outside of Lightroom that can handle this?

        • 1. Re: Save multiple crop settings for a single image?
          JimHess Adobe Community Professional & MVP

          You cannot specify crop settings in the export dialog. However, you can create as many virtual copies of the image as you need, then you can crop each one to a different aspect ratio. Then, all you need to do is export the virtual copies. This will create image files for each of those copies.  And you can create as many custom crop ratio settings as you need.

          • 2. Re: Save multiple crop settings for a single image?
            bmsramya@gmail.com Level 1

            two problems with virtual copies:

             

            1. when a virtual copy is created, it branches off so any subsequent adjustment made to one copy is not applied to the other copies. I'd still like to make edits to the master and have it propagate to copies if possible

             

            2. having multiple virtual copies of the same image is a huge clutter on the user interface

            • 3. Re: Save multiple crop settings for a single image?
              JimHess Adobe Community Professional & MVP

              Have you tried creating snapshots using different crop settings? That would put everything into the one file. As far as the clutter is concerned, you can always stack the copies. Sorry, I'm out of ideas. Maybe someone else will help.  OK,maybe just one more idea. IF you went the virtual copy route you could always auto-sync them all with the master copy, and all adjustments would be applied to all images at once.

              1 person found this helpful
              • 4. Re: Save multiple crop settings for a single image?
                bmsramya@gmail.com Level 1

                Yes stacking help reduce the clutter but makes it hard to select the intended virtual copies I need.

                 

                Snapshot doesn't help. Similar to virtual copies, subsequent edits are not part of earlier snapshots. Also when you export, Lightroom takes whichever is currently active not giving any option to choose a snapshot.

                 

                I think if anything exist it would have to be a plugin. However I'd like to ask here to see if Adobe has this feature in mind for a future release as it seems to be a reasonable workflow for photographers who are crop crazy and need to display their work on different devices.

                • 5. Re: Save multiple crop settings for a single image?
                  Jeff Schewe Level 5

                  bob6876879 wrote:

                   

                  two problems with virtual copies:

                   

                  1. when a virtual copy is created, it branches off so any subsequent adjustment made to one copy is not applied to the other copies. I'd still like to make edits to the master and have it propagate to copies if possible

                   

                  2. having multiple virtual copies of the same image is a huge clutter on the user interface

                   

                  Point 1, simply adjust your master then Sync Settings to the VC's without chaging crop (part of the subset of syncing).

                   

                  Point 2, as said, Stacks

                   

                  As far as getting traction for a new feature, not likely in your use case, it's an edge case and since VCs were designed for this sort of thing, unlikely to happen.

                  1 person found this helpful
                  • 6. Re: Save multiple crop settings for a single image?
                    JimHess Adobe Community Professional & MVP

                    Bob,

                     

                     

                    Sounds like it's time for YOU to create your own plug-in.

                    • 7. Re: Save multiple crop settings for a single image?
                      Jeff Schewe Level 5

                      JimHess wrote:

                       

                      Sounds like it's time for YOU to create your own plug-in.

                       

                      Waste of time...better spent learning how to use the current functionality correctly for his workflow.

                      • 8. Re: Save multiple crop settings for a single image?
                        bmsramya@gmail.com Level 1

                        Jeff Schewe wrote:

                         

                        bob6876879 wrote:

                         

                        two problems with virtual copies:

                         

                        1. when a virtual copy is created, it branches off so any subsequent adjustment made to one copy is not applied to the other copies. I'd still like to make edits to the master and have it propagate to copies if possible

                         

                        2. having multiple virtual copies of the same image is a huge clutter on the user interface

                         

                        Point 1, simply adjust your master then Sync Settings to the VC's without chaging crop (part of the subset of syncing).

                         

                        Point 2, as said, Stacks

                         

                        As far as getting traction for a new feature, not likely in your use case, it's an edge case and since VCs were designed for this sort of thing, unlikely to happen.

                         

                        This seems to be a workable solution although not perfect. It would be nice if the sync can happen in a somewhat automatic fashion. Then I can tag VC with crop names so I can bulk select for export easily.


                        Thanks all for the tips!

                        • 9. Re: Save multiple crop settings for a single image?
                          areohbee Level 5

                          For online images, use Lr/Mogrify to crop the exported files after export.

                          For exporting offline images (or more rapid export of online images): PreviewExporter (also supports cropping via "mogrification").

                           

                          This way, you don't have to do multiple steps - the crop settings are stored in export presets.

                          • 10. Re: Save multiple crop settings for a single image?
                            Allan_Olesen Level 1

                            OP, I can only say that you have my sympathy. I have been searching for exactly the same and found no solution.

                             

                            Creating and managing virtual copies of each and every photo just to be able to store different crop output setting for each photo is in my eyes a very cumbersome workaround.

                            • 11. Re: Save multiple crop settings for a single image?
                              areohbee Level 5

                              Lr/Mogrify does exactly what you want - why not just use it?

                               

                              Don't get me wrong, I think native develop presets that could be applied upon export, especially relative presets and crop support, is a great idea. But until then...

                               

                              Cheers,

                              Rob

                              • 12. Re: Save multiple crop settings for a single image?
                                Yooabo

                                Rob,

                                 

                                I don't think Lr/Mogrify solve the problem here. Yes it can crop, but you have to feed it with width, height, x and y parameters. The problem everyone agrees here is that LR does not save so called "crop settings". So there's nothing about cropping can be fed into ImageMagik via your plugin.

                                 

                                Thanks

                                • 13. Re: Save multiple crop settings for a single image?
                                  areohbee Level 5

                                  Well, I've never used Lr/Mogrify (it's not my plugin) - I assumed it works the same as PreviewExporter which allows you to save crop settings for mogrification in an export preset. Granted, you need to come up with the numbers to use...

                                  • 14. Re: Save multiple crop settings for a single image?
                                    richardplondon Level 4

                                    A couple of ideas: first, you could record a Photoshop action which produces your desired crop / aspect / resampling, and then set it up as a "droplet" so that it can be selected in the postprocessing options area of the Export dialog. Then save a series of Export presets, each one selecting the appropriate droplet action.

                                     

                                    Or, you could set up (and save as print preset) a Print layout whereby  the image is fitted (to fill) into a suitably shaped image cell on a suitably sized page. Then "print to JPG" using the desired output pixel dimensions etc. This gets you a preview with the option to "slide" the image suitably to finetune composition - although that is not stored permanently and would get overridden when calling up a different print preset thereafter.

                                     

                                    LR/Mogrify has already been mentioned, and should serve AFAIK; I assume you'd settle on a main LR crop aspect from which the other formats are to be extracted in a standard manner.

                                    • 15. Re: Save multiple crop settings for a single image?
                                      Allan_Olesen Level 1

                                      Rob Cole wrote:

                                       

                                      Lr/Mogrify does exactly what you want - why not just use it?

                                       

                                       

                                      Sorry for taking so long to reply.

                                       

                                      The OP is looking for a solution which makes it possible to do crops where the crop area is manually optimized for the contents of each photo. Not a one-size-fits-all-crops solution.

                                       

                                      I understand his need because I am struggling with exactly the same problem. If I have a set of 3:2 photos and want a 16:9 version of each photo, I can't just crop all photos 5/64 from the top and 5/64 from the bottom and expect a good result. In some cases I have to crop bottom only. In other cases I have to crop top only. And in other cases where the 3:2 image was already cropped from a larger image, I may get the best result from keeping the crop height and extending the crop width.

                                       

                                      What is really needed to accomplish this in an efficient manner is a way of making different crop adjustments for 3:2, 16:9 etc. inside Lightroom with Lightroom's crop tool and then have Lightroom remember the corresponding crop settings when doing an export to a given aspect ratio.

                                       

                                      I have stumbled upon Jeffrey Friedl's "Crop for iPad" plugin which does accomplish some of this. With this plugin, the user can add keywords to each photo to tell the plugin how the photo should be cropped when exported to iPad. But there is still not "graphical" interaction so the user can preview the result of the crop inside Lightroom - and extending crop area outside the original crop is out of the question since the iPad crop is done after export.

                                       

                                      I am tempted to write a plugin myself to get the behaviour I want. But that would require an ability to set crop rectangles through the SDK. According to this post on another forum, this was not possible in January 2012. Has the situation changed since then?

                                       

                                      Edit:

                                      Just noticed that you have very recently (inspired by this thread?) made a new plugin which controls the Lightroom crop tool through xmp files. I guess that answers my question: Situation has not changed since January.

                                      • 16. Re: Save multiple crop settings for a single image?
                                        john beardsworth Adobe Community Professional & MVP

                                        Look up my Syncomatic and try its Sync Stacks command. It syncs Develop settings, but in their wisdom Adobe haven't included crop in the adjustments exposed to the SDK. So, by fortune rather than by design, Syncomatic will sync adjustments without overwriting the crop.

                                        • 17. Re: Save multiple crop settings for a single image?
                                          Allan_Olesen Level 1

                                          OK. So with your tool I would be able to make virtual copies, apply different crops to each virtual copy, make develop changes to the master copy in each set and then syncronize all masters to all their virtual copies without affecting their crop settings.

                                           

                                          Well, if I choose the virtual copy approach, that sounds like something which could work. But for now, I will try to avoid those virtual copies. Thanks anyway.

                                          • 18. Re: Save multiple crop settings for a single image?
                                            Allan_Olesen Level 1

                                            Allan_Olesen wrote:

                                             

                                            Rob Cole wrote:

                                             

                                            Lr/Mogrify does exactly what you want - why not just use it?

                                             

                                             

                                            [...]

                                             

                                            Edit:

                                            Just noticed that you have very recently (inspired by this thread?) made a new plugin which controls the Lightroom crop tool through xmp files. I guess that answers my question: Situation has not changed since January.

                                            I have played a bit with your new crop plugin, and it is really nice. I like the way it tries to preserve the total area and the centre coordinates of the old crop when you crop to a new aspect ratio.

                                             

                                            Now, if this plugin could just remember a set of 3:2, 16:9 and 4:5 crop coordinates for each image and recall those crops on request, it would be a fantastic tool, both for me and for the OP (I think).

                                            • 19. Re: Save multiple crop settings for a single image?
                                              areohbee Level 5

                                              Allan_Olesen wrote:

                                               

                                              I have played a bit with your new crop plugin, and it is really nice.

                                              Thanks .

                                               

                                               

                                               

                                              Allan_Olesen wrote:

                                               

                                              I like the way it tries to preserve the total area and the centre coordinates of the old crop when you crop to a new aspect ratio.

                                              Me too. I hope Adobe does this native next rev.

                                               

                                               

                                               

                                              Allan_Olesen wrote:

                                               

                                              Now, if this plugin could just remember a set of 3:2, 16:9 and 4:5 crop coordinates for each image and recall those crops on request, it would be a fantastic tool, both for me and for the OP (I think).

                                              I'll consider it - thanks for the idea.

                                               

                                               

                                              Rob

                                              • 20. Re: Save multiple crop settings for a single image?
                                                Moomtaz Level 1

                                                It would seem like a very simple thing to do. You set up a crop and then Save Crop Ratio. That would be so easy. However Adobe wants everyone to drop into Mathematical Genius to figure out what the crop ratios are. I have situations where I need to crop things for my website. It would be so much easier to crop Pixels by Pixels which is what we get from Facebook, Web Templates, Yelp etcetera. We don't get Aspect Ratios So it is a pain.

                                                • 21. Re: Save multiple crop settings for a single image?
                                                  richardplondon Level 4

                                                  However Adobe wants everyone to drop into Mathematical Genius to figure out what the crop ratios are.

                                                  Not really - you can just type in whatever pixel dimensions (or physical printing dimensions) you want, and LR works out all the proportions for you.

                                                   

                                                  You don't have to calculate and then type in a ratio in the form 1 : xxxx.

                                                   

                                                  It would be so much easier to crop Pixels by Pixels.

                                                  I agree here - we are given the option of setting a "containing box" for our Export, sized in pixels or in physical units, and the output gets dynamically scaled to fit into that.

                                                   

                                                  All it would take to produce what you ask for, is an additional checkbox in Export, similar to what is found in the Print module, where you can choose Scale to Fit / Scale to Fill. Then include this option in an Export preset or Publish setup.

                                                   

                                                  [This option might trim off parts of the composition that one minded losing, so would need to be used with caution. But it would permit just one SINGLE Develop crop, to be used to generate multiple differently-shaped outputs on the fly, as required. All the outputs would come from the content of the main crop, extracting a narrower or squarer selection from this in each case, to meet the requested dimensions - rather than making a narrower / squarer JPG than the full bounding dimensions stated.]

                                                   

                                                  This on-the-fly cropping to shape works fine in Print, and Print can output to JPG at a known pixel dimension AND shape if you want - this saved as a Print preset - though with some annoying restrictions: e.g. it doesn't handle portrait vs landscape very well, and file naming is an issue. OTOH you can add a frame line and/or framing graphic.

                                                   

                                                  All that said, it won't really ever be consistent with Lightroom's core paradigm IMO, for the main image - as viewed in its Develop crop - to itself be assigned any particular pixel or print dimensions. Best to think of this as an Output issue IMO, within the product as it exists.

                                                   

                                                  regards, RP

                                                  • 22. Re: Save multiple crop settings for a single image?
                                                    johnrellis Most Valuable Participant

                                                    I just released the Any Crop plugin, which lets you specify exact crop sizes in pixels, inches, or centimeters. It also lets you prepare multiple crops for a set of photos all at once, as requested many years ago by the original poster.   When you've finished editing a set of photos, you select the additional crops you'd like and apply them all at once, resulting in a virtual copy for each crop size.  You can then review the virtual copies before exporting, publishing, or printing.  Any Crop provides a number of other features requested by users as well.