Looking for a commandline image editting tool

Hi All,
I’m looking for a commandline image editing tool, to do cropping, outputting to avi’s and tga/tiff streams. I have already used virtualdub, but the biggest problem is it can’t read tif files, and I can’t get around the tif files. VirtualDub is really all I need if I good get it to support tif. Are there any other tools out there that can be used with the commandline and do image editing and saving?

It would be great if the package carried it’s own codec’s instead of the systems codecs.

Thanks,
-Johan

I’m pretty sure rad video toolsconverts tif. I’ve never done it at command line level, but I believe it’s pretty straightforward.

Imagemagick! it’s free and it’s the best for command line editing imho

it supports tif (actually it supports more than 100 different file formats)

I was also looking into imagemagick, but does it support imagesequences, all the examples I find are on single images or 2 combined. I’m also looking into ffmpeg, which seems too have lots of options too. I really liked vdub, since you could make a preset script and feed it the necessary options through the commandline and you don’t have to worry about the rest.

I will look into it further and post my findings here, more suggestions/examples are greatly appreciated!

-Johan

We use MEncoder at work, which I think is based off ffmpeg. I am very happy with it.

[QUOTE=JHN;2374]I was also looking into imagemagick, but does it support imagesequences, all the examples I find are on single images or 2 combined. I’m also looking into ffmpeg, which seems too have lots of options too. I really liked vdub, since you could make a preset script and feed it the necessary options through the commandline and you don’t have to worry about the rest.

I will look into it further and post my findings here, more suggestions/examples are greatly appreciated!

-Johan[/QUOTE]

Imagemagick does support multiple images in at least some form. You can use it to make batch files and so on using wildcards. I was looking at it to make filmstrips out of multiple frames in a directory. I kind of got it working with some help. You should be able to crop and save all the frames in a directory I think, but I don’t know much about the commands I’m afraid.

I went to a maxscript solution ultimately because it suits me more. Not too keen on command lines.

[QUOTE=Rob Galanakis;2375]We use MEncoder at work, which I think is based off ffmpeg. I am very happy with it.[/QUOTE]

Yes it is, can you convert from any format? I have a hard time getting it to except, tga’s and tiffs… Will look further into it.

Thanks for all suggestions though!

-Johan

imagemagick doesnt seem to support 32bit images. at least on the site where
you can download windows binary releases:

too bad Ive been trying to find a commandline conversion program
from 32bit tiff to 32bit openExr.

Yeah, I find it frustrating all these commandline tools, which can output to every known format in the universe but can’t take tiff sequence as input. I’m investigating fusion now as a commandline tool for my needs.

-Johan

AVIdemux might also do what you want. I’ve used its javascript support for batching a bunch of video files.
http://fixounet.free.fr/avidemux/

Looks like it only supports BMP and JPEG files, according to their wiki.

-Johan

[QUOTE=JHN;2379]Yes it is, can you convert from any format? I have a hard time getting it to except, tga’s and tiffs… Will look further into it.

Thanks for all suggestions though!

-Johan[/QUOTE]

I am almost sure it works with TGA’s, TIFFs not so sure.

I’m personally still using the VERY old Image Alchemy for a lot of stuff since it’s very “easy” to use and I’ve used it over 10 years…

ImageMagik never worked intuitively for me, I could never get it to for example comp alpha channels properly etc. I just didn’t get how the software worked.

A more modern command line converter might be Image Converter Plus from fCoder Group (www.fcoder.com). I had a look at the demo a while back and it seemed pretty powerful (and easy to use syntax wise). It has a command line version, a GUI version and shell integration.

[QUOTE=kojala;2382]too bad Ive been trying to find a commandline conversion program from 32bit tiff to 32bit openExr.[/QUOTE]
Have you tried 3dsmax? (/me ducks…)

SamiV.

I only skimmed the discussion – but if you are looking to convert the files – you could just use Python and PIL:

http://www.pythonware.com/library/pil/handbook/pilconvert.htm

Hi All,

Have you ever succeed in converting tga sequence (32 bit/ with alpha) into quicktime or avi using ffmpeg, Mencoder or any other free, command-line utility ?

http://www.xsi-blog.com/archives/103

(amazing what a google search for “command-line TGA MOV” will turn up)

Another option would be to use AVISynth together with virtualdub (create an avs script and use it as the input for virtualdub). I’m not sure if avisynth supports 32bit-per-channel images though.

Yet another option is to use the converter tool in DJV, thought it doesn’t have cropping options. I also don’t think it supports avi’s. It used to have quicktime support, but I’m not sure if this is still the case in the latest version.

Cheers,
o

Nice find Eric