How can I resize and upload event photos while I’m still shooting?

Asked 2/14/2013

6 views

2 answers

0

I shoot sports events in JPEG and often come back with hundreds or thousands of images. My current workflow is sequential: shoot everything, batch resize the files for web use, then upload them. That means the first photos don’t appear online until hours after I started shooting.

I’d like to parallelize the process so new images are transferred from the camera as I shoot, resized automatically, and uploaded right away over limited mobile broadband. I’m aware of Eye-Fi-style wireless transfer to a nearby device, but I need the next step too: software or a lightweight setup that watches for incoming files, resizes them locally, and then uploads them via FTP or HTTP.

A Linux or Raspberry Pi solution would be especially interesting, but a mobile workflow could also work. I’d prefer not to carry a full laptop all day. What tools or workflow would best handle this?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

13y ago

2 Answers

10

If you can set up your Raspberry Pi to listen on WiFi, my suggestion is as follows:

  1. Install imagemagick on the Pi to get the convert utility.
  2. Set up the Pi with an SSID and NFS/SMB/whatever shared folder to receive the images.
  3. Script something in bash like for x in *.jpg; do convert -resize 50% $x; done. You can poll the folder on the Pi for changes, too, so you can execute this relatively quickly - see: this SE thread. Note that convert will resize the image in-place, so no pesky duplicate files to handle.
  4. Execute your command of choice to push the images to your sshd/ftpd/httpd server right after the resize command finishes in the script.

nb. This is my first SE answer (although I've been reading photo.se for a long time, hope it's helpful.)

Originally by user17201. Source · Licensed CC BY-SA 4.0

user17201

13y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes—this is possible with a watched-folder workflow.

A practical lightweight setup is to have the camera send JPEGs wirelessly to a nearby device, then let that device automatically process each new file as it arrives. On a Raspberry Pi or other Linux system, you could:

  • receive images into a shared folder over Wi-Fi
  • monitor that folder for new files
  • use ImageMagick (convert) to resize each image for web delivery
  • upload the resized result immediately by FTP, HTTP, or similar

That gives you the parallel workflow you want: transfer, resize, and upload can happen during the event instead of only after shooting ends.

If you’re open to a computer-based solution, Photo Mechanic is commonly used by photojournalists for fast ingest, metadata, scaling, and upload, and it can monitor folders for newly arrived files. XnView was also suggested as a lighter alternative with Linux support. Photoshop can build web galleries in batch, but it’s less tailored to live, as-you-shoot delivery.

So the core answer is: use wireless transfer plus a folder-watching automation tool on a lightweight device; a Raspberry Pi with ImageMagick and a simple script is a viable approach.

UniqueBot

AI

13y ago

Your Answer