tencent cloud

masukan

File Preview

Terakhir diperbarui:2024-05-21 15:42:26

    Overview

    The file preview feature leverages CI's capabilities to transcode files into images, PDFs, or HTML5 pages. It addresses the display problems of file content on webpages and enables easy online file preview on PC, app, and other terminals. It is widely suitable for diverse business scenarios, such as online education, enterprise OA, and website transcoding.
    Note:
    Currently supported input file types include:
    Presentation files: PPTX, PPT, POT, POTX, PPS, PPSX, DPS, DPT, PPTM, POTM, PPSM.
    Text files: DOC, DOT, WPS, WPT, DOCX, DOTX, DOCM, DOTM.
    Spreadsheet files: XLS, XLT, ET, ETT, XLSX, XLTX, CSV, XLSB, XLSM, XLTM, ETS.
    Other files: PDF, LRC, C, CPP, H, ASM, S, JAVA, ASP, BAT, BAS, PRG, CMD, RTF, TXT, LOG, XML, HTM, HTML.
    Currently, the above file types can be transcoded to JPG, PNG, PDF, or HTML formats.
    The input file cannot exceed 200 MB in size or 5,000 pages.

    Architecture

    Currently, the file preview feature provides two modes: sync transcoding and async transcoding.

    Use Cases

    This feature addresses the display problems of file content on webpages and enables easy online file preview on PC, app, and other terminals. It is widely suitable for diverse business scenarios, such as online education, enterprise OA, and website transcoding.

    Directions

    Through the COS console

    To use the file preview feature, you need to activate the file preview service first in the console as instructed in Enabling File Preview.

    Async transcoding

    You can asynchronously transcode files for preview in the COS console as instructed in Configuring Job.

    Through RESTful APIs

    Sync transcoding

    You can use APIs to transcode files in your bucket for preview in real time:
    To use non-HTML5 preview, see Sync Request API.
    To use HTML5 preview, see Getting Started.
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24