tencent cloud

Feedback

File Preview Overview

Last updated: 2024-03-25 15:33:39

    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.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support