validate

Image validation utility. This command line utility verifies image files to make sure they are valid and can be read without difficulty by Image Serving.

All non-PTIFF image files must pass validate before the file is made available to Image Serving as a source image. PTIFF images should be validated after potentially unreliable copy operations.

Usage

validate *fileType* [ *options*] [ *sourceFile* [ … ]]

fileType

-jpeg | -ptif | -any

Source file type; at least one must be specified (-any allows the same image file types supported by IC).

options

Other command options (see below).

sourceFile

Image file. None or more, separated by spaces.

Returns

0 if successful. If an error occurs, a non-zero value is returned and error details are sent to stderr.

Options

-fileList listFile

Specifies a separate text file containing the list of image files. One record per file. If -fileList is included, sourceFile must not be specified.

-readPixels

Enables verification of the entire image file. By default, only the image header is validated.

-validatecolorprofile

Verifies the embedded color profile for validity. By default, the profile body is not checked.

-reject16BitPerComponent

Rejects images with 16 bits per image component. Always specified by the Image Server when it validates remote source images.

-verbose

Prints more information if the image is invalid.

-silent

Disables stdout / stderr output. Only a status is returned.

-stopOnError

Terminates processing when a file validation failure occurs, even if additional files are yet to be validated. By default, processing continues when a validation error occurs

-version

Returns version info for this utility. Specify with no other options.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now