djv_convert

Command line utility for image conversion.

Contents:


Usage

  • djv_convert (input) (output) [option]...


Options

Image:

  • -mirror (x) (y)

    Mirror: False, True.

  • -scale (x) (y)

    Scale.

  • -resize (width) (height)

    Resize.

  • -width (value)

    Resize width, preserving aspect ratio.

  • -height (value)

    Resize height, preserving aspect ratio.

  • -channel (value)

    Channel: Default, Red, Green, Blue, Alpha.

Input:

  • -layer (value)

    Layer index.

  • -proxy (value)

    Proxy scale: None, 1/2, 1/4, 1/8. Default: None.

  • -time (start) (end)

    Select start and end time.

  • -timeout (value)

    Maximum number of seconds to wait for each input frame. Value: 0.

Output:

  • -pixel (value)

    Pixel type: L U8, L U16, L F16, L F32, LA U8, LA U16, LA F16, LA F32, RGB U8, RGB U10, RGB U16, RGB F16, RGB F32, RGBA U8, RGBA U16, RGBA F16, RGBA F32.

  • -speed (value)

    Speed: 1, 3, 6, 12, 15, 16, 18, 23.98, 24, 25, 29.97, 30, 50, 59.94, 60, 120.

  • -tag (name) (value)

    Set an image tag.

  • -tag_auto (value)

    Automatic image tag generation: False, True. Value: True.

See also: Command Line.


Examples

Convert an image:

> djv_convert input.sgi output.tga

Convert an image sequence:

> djv_convert input.1-100.sgi output.1.tga

(Only the first frame of the output is specified.)


Create an RLE compressed image sequence:

> djv_convert input.1-100.sgi output.1.tga -io_save tga compress rle

Convert an image sequence to a movie:

> djv_convert input.0001-0100.dpx output.mov

Convert a movie to an image sequence:

> djv_convert input.mov output.1.tga

Convert pixel type:

> djv_convert input.sgi output.sgi -pixel rgb u16

Scale an image by half:

> djv_convert input.tga output.tga -scale 0.5 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 -io_load cineon print 95 685 2.2 10

Save video lookup table to a file:

> djv_convert 0.vlut output.lut

Load video lookup table from a file:

> djv_convert input.lut 0.vlut