Optional
errorError object if the operation failed
The file path where the image was saved
Optional
sizeThe size of the generated image (can be a single number for square images or a string like "310x150" for non-square)
Whether the operation was successful
Result of an image operation. This interface represents the result of any image processing operation, such as resizing or format conversion.
ImageOperationResult