Skip to main content

Error Codes

Exit Codes

The VIESUS CLI tool returns standard exit codes. Error codes from the VIESUS Library are returned with an offset of -100, e.g., -104 is the library return -4 for a missing parameter file.

Success Code

CodeDescription
0Processing completed successfully

General Errors (-1 to -20)

CodeDescription
-1Enhancement object initialization failed
-2Incorrect memory organization
-3Enhancement validation failed
-4Required filename parameter missing
-5Failed to load INI configuration file
-6Failed to save INI configuration file
-7Invalid image pointer
-8Invalid image data pointer
-9Invalid processing parameters pointer
-10Generic null pointer error
-11Missing image enhancement analysis
-12Failed to load ICC color profile
-13Failed to retrieve license information
-14Image already enhanced (use -a to force)
-15Color management system analysis failed
-16Resize analysis failed
-17Resize region of interest out of limits
-18Pre-processing analysis failed
-19Face detection analysis failed
-20Noise reduction analysis failed

Processing Errors (-21 to -37)

CodeDescription
-21Noise reduction processing failed
-22Red-eye reduction analysis failed
-23Red-eye reduction processing failed
-24Global balance processing failed
-25Sharpening processing failed
-26Resize processing failed (check SR model)
-27Incorrect data type provided
-28Red-eye region processing failed
-29Incorrect color channel order
-30ICC profile validation failed
-31Memory allocation failed
-32Color conversion to sRGB failed
-33Color conversion from sRGB failed
-34Operation not supported
-35Temporary color transform failed
-36GGA processing failed
-37Super resolution resize failed
-45Face reconstruction analysis failed
-46Face reconstruction processing failed
-47Background analysis failed
-48Background processing failed
-49Face blur processing failed

License Errors (-40 to -73)

CodeDescription
-40 to -44GUID license errors (wrong GUID used with the library)
-50Feature not licensed
-51LAB feature not licensed
-52Image limit feature not licensed
-53Windows feature not licensed
-54macOS feature not licensed
-55Linux feature not licensed
-60PDF feature not licensed
-61TRON PDF feature not licensed
-62V8 feature not licensed
-70Daily processing limit exceeded
-71License build time error
-72License error 1
-73License error 2