Document preview generation system and method
A technology for generating system and preview images, which is applied in the field of image processing, and can solve problems such as plug-in security issues, lack of complete thumbnail previews, system compatibility issues, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0080] see figure 1 , the invention discloses a system for generating a preview image of a document. The system mainly includes a unified document conversion module 10 and an image generation module 20 .
[0081] Among them, the unified document conversion module 10 differentiates the mainstream formats, mainly covering the Excel conversion module 11 , the Powerpoint conversion module 12 , the Word conversion module 13 , and the Txt conversion module 14 . The image generation module 20 includes an image analysis module 21 , an image conversion module 22 and an image generation module 23 .
[0082] The document unified conversion module 10 mainly analyzes various mainstream document formats and converts them into a unified PDF format. PDF is a portable document format, and this file format has nothing to do with the operating system platform. These mainstream document formats include Office spreadsheet Excel files, presentation Powerpoint documents, Word documents, and Notepa...
Embodiment 2
[0103] This embodiment discloses a method for generating a document preview image, and the method includes the following steps:
[0104] [Step S1] document unified conversion step, analyze various mainstream document formats, and unify various documents into PDF format.
[0105] Select to enter step S11, S12, S13 or S14 according to the document format (if the document is an Excel document, then enter step S11; if the document is a Powerpoint document, then enter step S12; if the document is a Word document, then enter step S13; if the document is Txt document, then enter step S14):
[0106] S11, the Excel conversion step is to convert all table contents into PDF format documents; use the Office public interface to read the contents of Excel, read the information into memory, and use the Office plug-in module to save Excel as a PDF format document.
[0107] S12, the Powerpoint conversion step, converting the content of the presentation document into a PDF format document; uti...
Embodiment 3
[0115] This embodiment discloses a system for generating a document preview image, and the system includes: a unified document conversion module and an image generation module.
[0116] The document unified conversion module analyzes various document formats, and unifies various documents into PDF format.
[0117] The image generating module is used to extract PDF document attributes, analyze document page numbers and sizes; use n-bit image technology to generate memory images, and perform palette optimization on n-bit color bitmaps, and convert n-bit color bitmaps to The image palette is optimized into an image of m-bit colors, where n>m. The image generation module converts the document image, and converts the n-bit image into an m-bit image by finding the index of the closest (or closer) color in the palette. For the specific algorithm, reference may be made to the methods in Embodiment 1 and Embodiment 2, and of course, other methods may also be used.
[0118] The presen...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com