Torch Object Storage
Preview format | Billing rules | Related documentation |
Preview format | Billing rules | Related documentation |
Image or PDF | Costs are based on the number of images or PDF pages converted for preview. | |
HTML | Costs are based on the number of previews. | |
Category | Description |
Category | Description |
File type | The following file types are supported for preview:
|
Output format | The following output formats are supported: PNG, JPG, PDF, and HTML. warning Starting from October 18, 2022, for security and compliance reasons, if you use the bucket's default domain to access web page files with the MIME type text/html and extensions including .htm, .html, .jsp, .plg, .htx, and .stm, the response header will automatically include Content-Disposition:attachment. This means that, when you access web page files via a browser, the website will not preview the content directly. Instead, the content will be downloaded locally. |
File size | The maximum size of a file that can be previewed is 200 MB. |
Spreadsheet files | When you preview a spreadsheet file in image format, one sheet can be split into multiple images. |
Server-side encryption | You can use TOS to preview documents encrypted with SSE-TOS, SSE-C, or SSE-KMS, but there are some limitations to consider:
|
Feature | Parameter | Description |
Feature | Parameter | Description |
doc-preview | Displays documents stored in TOS buckets as images, PDFs, or HTML without opening them. |