diff --git a/programming/javascript/api-reference/utility/image-io.md b/programming/javascript/api-reference/utility/image-io.md index 12a6d3e..d4f1e15 100644 --- a/programming/javascript/api-reference/utility/image-io.md +++ b/programming/javascript/api-reference/utility/image-io.md @@ -100,14 +100,14 @@ A Promise that resolves to the `DSImageData` object. This method saves an image to a Base64-encoded string. The desired file format is inferred from the 'format' parameter. Should the specified file format be omitted or unsupported, the data will default to being exported in PNG format. ```typescript -SaveToBase64String(image: Blob | DSImageData, format: Core.EnumImageFileFormat): Promise; +saveToBase64String(image: Blob | DSImageData, fileFormat: string): Promise; ``` **Parameters** `image`: The image to be saved, of type `Blob`, `DSImageData`. -`format`: The desired image format. +`fileFormat`: The desired image format. **Return Value**