Parameter object passed to the ProcessFileAndSave method in the Bytescale SDKs.
{}
{ "<transformation-params>": [ { "w": 800, "h": 600, "fit": "crop" } ], "accountId": "YOUR_ACCOUNT_ID", "filePath": "/source/image.jpg", "processFileAndSaveRequest": { "destination": "/destination/image.jpg" }, "transformation": "image"}
Each File Processing API requires additional query string parameters to specify the desired transformation behavior.
For details, refer to the relevant documentation:
•https://www.bytescale.com/docs/image-processing-api
•https://www.bytescale.com/docs/video-processing-api
•https://www.bytescale.com/docs/audio-processing-api
•https://www.bytescale.com/docs/archive-processing-api
•https://www.bytescale.com/docs/antivirus-api
Type: TransformationParams
Your account ID.
This is visible on the settings page:
https://www.bytescale.com/dashboard/settings
Example: "A623uY2"
Type: String
Length: 7
Absolute path to a file. Begins with a /.
Example: "/source/image.jpg"
Type: String
Min Length: 1
Max Length: 512
Request body for ProcessFileAndSave.
The name of the File Processing API (e.g. image, video, audio) or transformation preset (created in the Bytescale Dashboard) to use when processing the file.
Example: "image"
Type: String
Min Length: 1
Max Length: 100
This website uses cookies. By continuing you are consenting to the use of cookies per our Cookie Policy. Our legal policies were last updated August 16 2024.
This website requires a modern web browser -- the latest versions of these browsers are supported: