The http request body can send parameters with the following content-types.
parameter | |
---|---|
inputFile or inputBase64 | Either inputFile or inputBase64 is required. |
outputType | Required. Specify the file format you want to convert. |
outputFilename | output file name. If not specified, the file name of inputFile is used. Required for inputBase64. |
replaceFonts | If the source file’s font does not exist on the “File Converter” server, the server’s default font will be used. Set to use the specified font instead of the default font. |
Specify a font name if you want all fonts to change uniformly. (replaceFonts: “Noto Sans”) | |
To change only a specific font, specify it with [ “Font before change”: “Font after change” ]. ( replaceFonts: {“Yu Gothic”: “Noto Sans CJK JP”} ) |