This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Resource unavailable.
Possible Cause
The image is transferred across threads, and the original object cannot call the API.
Solution
Check the image and follow the instructions to decode it.
Error Message
Transaction operation failed.
Possible Cause
Solution
Check the image and follow the instructions to decode it.
Error Message
RPC error.
Possible Cause
Solution
Check the image and follow the instructions to decode it.
Error Message
Image decoding abnormal.
Possible Cause
Solution
Check the image and follow the instructions to decode it.
Error Message
The image data is abnormal.
Possible Cause
Solution
Use a valid image.
Error Message
Image malloc abnormal.
Possible Cause
The device memory is insufficient or occupied.
Solution
Clear the memory and try again.
Error Message
Image types are not supported.
Possible Cause
The input image type is not supported.
Solution
Change the image type and try again.
Error Message
Image initialization abnormal.
Possible Cause
Solution
Correct the parameters or user another image.
Error Message
Failed to get the image data.
Possible Cause
Solution
Correct the image data or use another image.
Error Message
The image data is too large.
Possible Cause
The image is too large.
Solution
Use a smaller image.
Error Message
Image conversion abnormal.
Possible Cause
Solution
Correct the encoding parameters or use another image.
Error Message
Image color conversion is abnormal.
Possible Cause
Solution
Try again or change the image type.
Error Message
Cropping exceptions.
Possible Cause
Solution
Correct the cropping parameters or image data.
Error Message
The image source data is abnormal.
Possible Cause
The image source data is missing or incorrect.
Solution
Check the operation procedure or use another image.
Error Message
The image source data is incomplete.
Possible Cause
The image source data is missing.
Solution
Check the operation procedure or use another image.
Error Message
The image format does not match.
Possible Cause
The image format does not match.
Solution
Use an image in a matched format.
Error Message
Unknown image format.
Possible Cause
The image format is not supported.
Solution
Use another image.
Error Message
Image source not parsed.
Possible Cause
The image source data is incorrect.
Solution
Correct the image source data.
Error Message
Invalid image parameter.
Possible Cause
An input parameter is invalid.
Solution
Correct the input parameter.
Error Message
Decoding failed.
Possible Cause
Solution
Ensure that the image is read or use another image.
Error Message
Failed to register the plugin.
Possible Cause
Solution
Correct the input data or use another image.
Error Message
Failed to create the plugin.
Possible Cause
Solution
Correct the input data or use another image.
Error Message
Image encoding failed.
Possible Cause
Solution
Correct the input data or use another image.
Error Message
Failed to add the pixel mappings.
Possible Cause
Solution
Check the operation procedure or use another image.
Error Message
Image hardware decoding is not supported.
Possible Cause
Image hardware decoding is used.
Solution
Use another decoding mode.
Error Message
Failed to decode the image header.
Possible Cause
Solution
Correct the image data or use another image.
Error Message
The image does not support EXIF decoding.
Possible Cause
The image does not support EXIF decoding.
Solution
Use another image.
Error Message
The image property does not exist.
Possible Cause
Solution
Use another image.
Error Message
The EXIF data is out of range.
Possible Cause
The value of the image property is out of range.
Solution
Change the image or check the length of the image property value.
Error Message
The EXIF value is invalid.
Possible Cause
The image property is missing.
Solution
Correct the image data or use another image.
Error Message
Invalid media operation.
Possible Cause
The current image format does not support this operation.
Solution
Use another image.
Error Message
Invalid MIME type for the image source.
Possible Cause
The current image format does not support this operation.
Solution
Use another image.
Error Message
Failed to create the PixelMap.
Possible Cause
Solution
Check whether the input parameters are correct and whether the instance is released in advance.
Error Message
Failed to read the pixel map.
Possible Cause
Solution
Create another PixelMap or request the read permission.
Error Message
Failed to write the pixel map.
Possible Cause
Solution
Create another PixelMap or request the write permission.
Error Message
PixelMap does not allow modification.
Possible Cause
Users try to modify a PixelMap.
Solution
Do not modify the PixelMap.
Error Message
Configuration error.
Possible Cause
The configuration is incorrect.
Solution
Correct the configuration.
Error Message
fail set name.
Possible Cause
Solution
Check whether the PixelMap instance has been released. Check whether the memory type matches.
Error Message
Unsupported operation.
Possible Cause
The operation is not supported.
Solution
Use a supported operation.
Error Message
Unsupported metadata. Possible causes: Unsupported metadata type.
Possible Cause
The metadata read/write operation is not supported. For example, the Exif field to read or write is not supported, or users attempt to obtain specific data from an auxiliary picture of an incorrect type (for example, attempt to obtain GainmapMetadata of a depth map).
Solution
Check whether the auxiliary picture type corresponds to the metadata type, and then perform the read and write operations.
Error Message
Memory alloc failed.
Possible Cause
The device memory is insufficient or occupied.
Solution
Clear the memory and try again.
Error Message
Memory copy failed.
Possible Cause
The memory to copy does not exist, or the device memory is insufficient.
Solution
Check whether the memory to copy exists. Clear the memory and try again.
Error Message
Unknown error.
Possible Cause
Errors caused by unknown reasons.
Solution
Locate the cause based on logs.