djv_convert |
The djv_convert application is a command line tool for batch processing images and movies. Common uses include resizing images and converting sequences of images to a QuickTime movie.
Here is an example of how to resize a sequence of images: > djv_convert input.1-100.tga output.1.tga -resize 2048 1556 Note that only the first frame of the output sequence needs to be specified, the remaining frames will be added automatically. See below for more examples. Note also that the djv_convert application uses OpenGL for image processing so it needs to be run on a machine with graphics resources. Command LineUsage:djv_convert (input) (output) [option]...
Conversion options:
Input options:
Output options:
Documentation for image I/O command line options is available here.
Documentation for general command line options is available here.
ExamplesConvert an image: > djv_convert input.sgi output.tga Convert an image sequence. Note that only the first frame of the output sequence needs to be specified, the remaining frames will be added automatically: > djv_convert input.1-100.sgi output.1.tga Create an RLE compressed image sequence: > djv_convert input.1-100.sgi output.1.tga -targa_compression RLE Convert an image sequence to a movie: > djv_convert input.0001-0100.dpx output.m4v Convert a movie to an image sequence: > djv_convert input.m4v output.1.tga Convert the pixel type. Note the use of the quotes around the pixel type option: > djv_convert input.sgi output.sgi -pixel "RGB U16" Scale an image by half: > djv_convert input.tga output.tga -scale 0.5 Resize an image: > djv_convert input.tga output.tga -resize 2048 1556 Convert a Cineon file to a linear format using the default settings: > djv_convert input.cin output.tga Convert a Cineon file to a linear format using custom print settings (black point, white point, gamma, and soft clip): > djv_convert input.cin output.tga -cineon_input_film_print 95 685 2.2 2 |