Jump to content

Banner.jpg.b89429c566825f6ab32bcafbada449c9.jpg

Batch converting frames in Linux


Recommended Posts

Hi SGLers,

I thought I would share my little batch conversion programme for converting raw frames into jpgs using ufraw-batch. This is useful if you have large lunar/solar frames and want to pass them through Registax (tiff files were just too large!). Just put the programme into the folder containing your raw frames and make a new folder for the processed images, then add the path to that folder into the programme (after --out-path=).

Here it is...

#!/bin/bash

for f in *.CR2;
do
        ufraw-batch \
                --out-type=jpeg \
                --compression=95 \
                --exposure=2 \
                --overwrite \
                --out-path=/path_to_processed_images/ \
                $f
done

Anyway, hope someone finds it useful.

Dan. :happy7:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.