Hot answers tagged

39

It's a little easier than jrista's method. You still make your edits to a single file, but then on the lighttable there's a "History Stack" section which allows you to copy the history stack of an image (or any parts thereof). And then you can select multiple images and paste the history stack onto them. Update: I understand better jrista's mention of ...


31

I would recommend any of the applications from this list at JPEGclub.org, which develops and maintains software for the Independent JPEG Group. They have a free piece of code called jpegtran which can do some basic transformations (like rotation) without re-encoding the image. Rotating images the "naive" way (rendering to a bitmap, reorienting the bitmap, ...


24

On Windows, go to the folder, and run this in a command prompt: for /f "delims==" %r in ('dir /b *.nef') do del "%~dpr%~nr.jpg" 2> nul Basically, it goes through the current folder, runs through the NEF files, and deletes the JPG if present. It ignores any errors if the JPG is not there. If you want subfolders, include /s in the dir command.


19

I'm surprised no one has mentioned Nikon's own ViewNX, which will allow you to select all the images in a folder and batch convert them from .NEF to .JPG. The program is free, and came with the camera and if not, it can also be downloaded from the Nikon USA site Facebook upload is already integrated in ViewNX2. Here is a screenshot of a portion of the ...


19

If you don't know the crop boundary then you can use Fred Weinhaus's multicrop script (this script also uses Imagemagick). The script also handles different photo sizes and rotated images. Example (book covers): Scanned image (input.tiff): multicrop input.tiff output.tiff Result: output-0.tiff: output-1.tiff:


15

If you are talking about JPEG files, then the utility jpeginfo is exactly what you're looking for. It can check files for different types of JPEG errors and corruption and either return an error code (the most useful thing for scripting), or just delete files with errors. I use this as part of my initial file transfer, to make sure everything copied okay ...


15

Here's a solution using python and opencv: This will crop all the faces it finds in the jpeg photos in whatever folder you run it in, with the padding specified by the left, right, top, bottom variables: import cv2 import sys import glob cascPath = "haarcascade_frontalface_default.xml" # Create the haar cascade faceCascade = cv2.CascadeClassifier(...


14

In Lightroom, open the catalog with the photos, select the collection or filter so that only the files you are interested in are shown in the library grid (or undo a filter/collection if you want ALL files). Select all the files by choosing Edit | Select All (CTRL+A on Windows). Export as JPG by choosing File | Export (CTRL+SHIFT+E on Windows). In the ...


12

Photoshop's Batch command can do this. You would essentially 'record' yourself performing the crop etc once, then run the recording on all the files you want. If you want to automatically resize the smaller images you would have to do a little scripting. Irfanview also has a comprehensive image batch processor but might require a bit of experimentation to ...


11

You can probably do this by creating an action and then batch processing: Create the action with an open file in photoshop start recording do File > Save As > and set file type to PNG or use File > Save for Web if you need to resize or make other modifications click Save stop recording and save action as "Save As PNG" (there may also be some built in ...


10

If you are comfortable with command line tools from ImageMagick, you can do something like this: convert orig_image.jpg -gravity NorthWest -annotate 0 "%[EXIF:DateTimeOriginal]" new_image.jpg You can run this to batch process all your images. Details ImageMagick has an array of command line tools to do different things with image. I'm using the convert ...


10

ImageMagick let's you run commands in a windows command window. You need to be comfortable with creating Dos batch files. For an example see the last post in this discussion: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=21112 Relevant example from this forum post: @echo off cd C:\Users\user\Desktop\New\New folder convert *.jpg -...


9

You could use ImageMagick with the rotate option: convert image.jpg -rotate 180 result.jpg You should be able to apply this command to multiple files, depending on your environment.


8

On Windows you can do it without any extra software in TWO operations. Select the files you want rotated in file Explorer, right click and do "rotate right" (or left) twice. It will be done losslessly if the image permits (eg, the dimensions are not "funny").


7

Here is a modified version of Tomy's Python script. Differences: multiple raw extensions allowed remove jpg only if the pairs are in the same folder (avoid accidental removal of a jpg named like a raw file in an other folder) case insensitive #!/usr/bin/env python # Script: remove_jpg_if_raw_exists.py # # Description: This script looks in all sub ...


7

First I thought you wanted batch resize, which many programs can do. But then I realized you want to do a combination of resizing and cropping, and you want the computer to calculate how to best cut out 600x600 pixels from the image dynamically. It is because it is not a "one true solution" kind of task, as it is usually human judgement call, how to crop ...


7

The only way I know of to apply batch edits to multiple files in Darktable is to generate a history stack of the edits you wish to apply on one photo, export that history stack as a "Style", then apply that style on export to all the other photos. Not sure that this is what you are looking for...but I'm an infrequent user of Darktable, and that was the best ...


7

There's already a similar question on the ExifTool forums. It can be done using two sequential ExifTool commands. First, make sure all the date to the same exiftool -datetimeoriginal="2015:02:22 00:00:00" DIR And then increment the time on each exiftool '-datetimeoriginal+<0:0:${filesequence}0' DIR


7

If you find that hitting the "auto" button in the GIMP levels dialog generally does the thing you're looking for, you can batch that as described here. Specifically, you would put this script: (define (batch-auto-levels pattern) (let* ((filelist (cadr (file-glob pattern 1)))) (while (not (null? filelist)) (let* ((filename (car filelist)) ...


7

Try adding the -r option to the command, which tells exiftool to scan the directories recursively, starting from the top folder specified as an absolute path. Use the -ext option to specify the extension of files to operate on. Example: exiftool -csv -CreateDate -Keywords -r -ext jpg /absolute/path/to/top/folder > data.csv


6

I think I have a good workaround. Of course a plugin for this task would still be the best. I did this with Lightroom 5. Add the photos you want to convert to the (empty!) Quick Collection and select them all. You could also just select the photos without adding them to any collection. But then it's VERY important that you don't (accidently) unselect any of ...


6

I recommend darktable. It has the features you need, plus some more. It is not overwhelming though. I like it, because the original photos are not modified. A recipe file with the postprocessing instruction is stored instead. You will need decent amount of memory (8GB+).


6

If you are processing the RAW files in Canon Digital Photo Professional you can save your changes as a recipe and then apply the recipe quickly to other files. To do this, first import an image; make your changes and then save settings as a recipe in the edit menu. Then any subsequent image you import just select the recipe you saved and the changes you ...


6

Here's a Python script that moves JPG files when no corresponding RAW file exists. Useful on Mac OS X! import os import shutil raw_ext = '.CR2' jpg_ext = '.JPG' destination = '/Users/JohnSmith/Desktop/jpgs/' for filename in os.listdir('.'): (shortname, extension) = os.path.splitext(filename) if extension == raw_ext: if os.path.isfile(...


6

Open your folder containing the photographs in Adobe Bridge, then in the menu go: "Tools" -> "Photoshop" -> "Image Processor". (Entries translated.) Set your JPEG quality and maximum resolution per side (aspect ratio will be retained), click go and wait. Note: Bridge comes with Photoshop for those who do not know that. Also, if you want to apply similar ...


6

Exif has two fields to store an image description: XPTitle and ImageDescription. What field your scanner use? The below command line (via ExifTool) will erase all of your Exif:Description and Exif:XPTitle fields of the images in the specified directory: exiftool.exe -exif:ImageDescription= -exif:XPTitle= "YOURDIR" Although any decent photo management ...


6

You can do this fairly easily with the cross-platform free software ExifTool. It's even in in the FAQ: The -csv (comma separated values) option solves this dilemma by pre-extracting information from all input files, then producing a sorted list of available tag names as the first row of the output, and organizing the information into columns for ...


6

I don't know if there is any way to do mass masking, especially with an inconsistent background. I would suggest a masking tool like Topaz Remask. It would make pretty quick work of masking for these types of photos. I was able to to create a mask for the sample image in about 1 minute with Remask. If I was using a stylus, I probably could have saved a ...


5

Create an empty Library From the Lightroom main menu, choose Edit > Preferences (Windows) or Lightroom > Preferences (Mac OS). In the General preferences unselect "Treat JPEG Files Next To Raw Files As Separate Photos" This should be the default. Import all of your files (you can select search subfolders), telling it to move to a new location The JPG files ...


5

I don't see why you couldn't use Publish Services for this. If you are in the Library module, it is on the left pane all the way at the bottom. Simply setup a new Publish Services to your hard drive, and select the criteria that you would like to use, such as Photos Edited today with 5 Stars. Once you have that setup, you can really extend the functionality ...


Only top voted, non community-wiki answers of a minimum length are eligible