On 12/12/18 4:28 PM, Terry Duell wrote:

This is pretty much the solution that Patrick proposed.

Unless I missed something (not ruling that out; it's been known to happen), the first reply I saw was Pascal Obry's, which was GUI-centric.

The impression I got from your reply was that you were looking to do this through the CLI.  That piques my interest because my workflow is very batch-centric and all of the final final generation of images is done by shell scripts.  The only time I use the GUI for exporting is when I need to dump one image or something special like exporting a calibration card to build a camera color profile.


I did a test with one file where I set enabled to 0 for clipping and it didn't have any effect, and the prospect of attempting using sed or similar to edit the xmp to remove all clipping instructions was beyond my abilities. I'll have to look at that again, as there may have been another clipping command later in that xmp.

I've created a tarball with my experiment that you can download from http://www.feitography.com/hole/nocrop.tar.gz. Unpack it, run 'make diff' to see the difference between the cropped and uncropped versions of the XMP, then run 'make' to produce JPEGs of versions of the image with the CLI.


If you attempt this please let me know how you get on and pass on your scripts if you are prepared to do so.

I'll see if I can knock it out in the next few days and will post the results here.  Shouldn't take long.  I need to learn how to use XMLStarlet, but that should be quick since I'm after two pretty simple operations.


--Mark


___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to