`
13146489
  • 浏览: 251325 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

PDF优化

阅读更多
1、减少PDF文件大小:使用ACROBAT进行PDF文件合并,测试过59份PDF,大小总共68M,合并后为29M。(原理:大致记得是将每个PDF的嵌入字体子集进行合并成一个交集。PDF中的嵌入字体占据的文件大小的80%左右,所以合并后将各个子集合并为一个超集会大大压缩文件大小)。
2、快速WEB查看(线性PDF):
A、访问FAST WEB VIEW PDF的某一指定页面请求格式:
样例:
url:http://........./test.pdf#page=6
说明:就在PDF后面跟上:#page=?。?为你指定的页码

B、Acobat官方指导如何生成FAST WEB VIEW http://help.adobe.com/en_US/Acrobat/8.0/Professional/help.html?content=WS58a04a822e3e50102bd615109794195ff-7f52.html
Fast Web View restructures a PDF document for page-at-a-time downloading (byte-serving) from web servers. With Fast Web View, the web server sends only the requested page, rather than the entire PDF. This is especially important with large documents that can take a long time to download from a server.

Check with your webmaster to make sure that the web server software you use supports page-at-a-time downloading. To ensure that the PDF documents on your website appear in older browsers, you may also want to create HTML links (versus ASP scripts or the POST method) to the PDF documents and use relatively short path names (256 characters or fewer).
3、图片优化:
使用ACOBAT中的PDF优化器,第一项就是图像,选择后:在里面的图像压缩选项选择JPEG2000压缩方案。可以将图片压缩一半以上。
4、PDF其他优化:
http://www.verypdf.com/pdfinfoeditor/optimize-pdf-file.htm

Optimizing your PDF files


Portable Document Format (PDF) is a file format for representing documents in a manner independent of the application software, hardware, and operating system used to create them and of the output device on which they are to be displayed or printed. A PDF document consists of a collection of objects that together describe the appearance of one or more pages, possibly accompanied by additional interactive elements and higher-level application data. A PDF file contains the objects making up a PDF document along with associated structural information, all represented as a single self-contained sequence of bytes.

Sometimes PDF files are large in size, which contain many redundancies that are unnecessary to many readers, especially when they want to download a PDF file from Web. We often call a scaled PDF file as an optimized file. PDF optimization is often overlooked when creating PDF files for the Web. While PDFs have become quite popular on the Web, many PDFs used in web sites are designed for high quality print output and are not optimized for the Web. Even PDFs designed for Web use can have a wait problem, weighed down with excess fonts, change histories, and unoptimized images and forms. Optimizing PDF files for the Web can significantly shrink their size and boost display speed, saving bandwidth and user frustration, and can be distributed efficiently.

In order to optimize PDFs for minimum file size while still maintaining accessibility and search engine visibility, we can use compression techniques, for example, compression algorithms to reduce file size such as LZW, JPEG, JBIG2, Flate Decode, RunLength, JPEG2000, and CCITT, and reduce the complexity of the document (such as read number of fonts, forms, images, and multimedia) that ultimately determines how large the resulting PDF file will be.

To create small PDF files , you can consider the main factors including image resolution, image type (bitmap or vector), the number of fonts used and how they are embedded, PDF version, and the level of compression.

In many cases many PDFs we've seen are not fully optimized for the Web. There are two main ways we recommend you to optimize the exiting file, including

  Reducing the file size

  Linearizing the PDF file for fast web view

We can use Advanced PDF Tools to remove redundancy or unnecessary objects from the PDF file and recompress data stream ( a sequence of data points or values) to reduce the file size, and also to linearize the PDF file.

The redundancy objects includes:

Metadata

Metadata is the general information of a PDF file, such as the document's title, author, and creation and modification dates, which is opposed to its content or structure and is  intended to assist in cataloguing and searching for documents in external databases.

Javascript

A JavaScript action causes a script to be compiled and executed by the JavaScript interpreter. Depending on the nature of the script, various interactive form fields in the document may update their values or change their visual appearances.

Thumbnail

A PDF document can define thumbnail images representing the contents of its pages in miniature form. A viewer application can display these images on the screen, allowing the user to navigate to a page by clicking its thumbnail image.

Embedded file

The file embedded inside PDFs, in which the embedded file included is purely for convenience and needs not be directly processed by any PDF consumer application. It contains many factors the file needs such as including references to external files via the file system or a URL to a remote location, and also possible a binary file.

Bookmark

A PDF document may optionally display a document outline or bookmark on the screen, allowing the user to navigate interactively from one part of the document to another. The bookmark consists of a tree-structured hierarchy of outline items, which serve as a visual table of contents to display the document's structure to the user. The user can interactively open and close individual items by clicking them with the mouse. When an item is open, its immediate children in the hierarchy become visible on the screen; each child may in turn be open or closed, selectively revealing or hiding further parts of the hierarchy. When an item is closed, all of its descendants in the hierarchy are hidden. Clicking the text of any visible item activates the item, causing the viewer application to jump to a destination or trigger an action associated with the item.

Comment

Users can add comments to their PDF files. These comments can be saved, summarized and searched as the content of file.

Private data

A PDF page allows an application to embed private data in a PDF document for its own use. Application use private data to connect with document, page, or form. Such private data can convey information meaningful to the application that produces it.

Named destination

A destination may be referred to indirectly by means of a name object (PDF 1.1) or a string (PDF 1.2). This capability is especially useful when the destination is located in another PDF document.

All form actions

One of the standard action types that PDF supports.

There are four special types of form actions:

  Submit-form actions transmit the names and values of selected interactive form fields to a specified uniform resource locator (URL), presumably the address of a Web server that will process them and send back a response.

  Reset-form actions reset selected interactive form fields to their default values.

  Import-data actions import Forms Data Format (FDF) data into the document's interactive form from a specified file.

  JavaScript actions (PDF 1.3) cause a script to be compiled and executed by the JavaScript interpreter.

Optimize For Fast Web View

Fast Web View restructures a PDF document for page-at-a-time downloading (byte-serving) from web servers. This option compresses text and line art, regardless of what you have selected as compression settings on the Images panel. This makes for faster access and viewing when downloading the file from the web or a network. With page-at-a-time downloading, the web server sends only the requested page, rather than the entire PDF document. This is especially important with large documents that can take a long time to download from a server.

Check with your web master to make sure that the web server software you use supports page-at-time downloading. To ensure that the PDF documents on your website appear in older browsers, you may also want to create HTML links (versus ASP scripts or the POST method) to the PDF documents and keep path names--or URLs--to the files at less than 256 characters.

Using Advanced PDF Tools

Advanced PDF Tools (GUI version) provides many settings for reducing the size of Adobe PDF files. Whether you use all of these settings or only a few depends on how you intend to use the files and on the essential properties a file must have. In most cases, the default settings are appropriate for maximum efficiency--saving space by removing some embedded fonts, compressing images, and removing items from the file that are no longer needed.

Before you optimize a file, it's a good idea to audit the file's space usage to get a report of the total number of bytes used for specific document elements, including fonts, images, bookmarks, forms, named destinations, and comments, as well as the total file size. The results are reported both in bytes and as a percentage of the total file size. The space audit results may give you ideas about where best to reduce file size. You'd better experiment with various settings before making changes that can't be discarded.

You can also use pdfcompress command line tool (part of Advanced PDF Tools command line) to remove redundancy information. For example, you can use the command

pdfcompress -i C:\input.pdf -o C:\output.pdf   

and a configuration file "compress.ini" to compress your images, e.g.,

[data]
removemetadata=1
removejavascript=1
removethumb=1
removecomment=1
removeembeddedfile=1
removebookmarks=1
removeprivatedata=1
removenamesdestination=1
removeform=1
compressstream=1
分享到:
评论

相关推荐

    Matlab优化算法PDF

    《Matlab优化算法PDF》是一份深入探讨在Matlab环境下实现和应用优化算法的重要资源。这份文档详尽地阐述了如何利用Matlab的强大功能解决各种实际问题中的优化问题,包括但不限于最小化函数、最大化目标、约束优化...

    PDF-XChange+Pro(PDF制作转换)v4.0163注册版

    PDF-XChange Pro 注册版非常优秀的PDF制作,PDF制作转换,PDF优化软件,如果你不这样认为,你可以下载多个PDF 制作软件试试看!能够利用任何Windows的软件,比如说 Word、Excel、AutoCad来制作与Adobe相兼容的PDF文件。...

    福昕PDF套件 5.0.4破解版

    PDF优化 ——优化PDF文档,缩小文件大小。 批量创建PDF文件 ——您可以从多文件创建PDF文件,也可以从扫描仪中直接创建PDF文件。 PDF审阅 ——在现有PDF文件中插入注释、高亮、图章等。 设置文档属性信息 ——便于...

    optimpdf:适用于手持设备的ScanSnap PDF优化器

    《ScanSnap PDF优化器——optimpdf在手持设备上的应用》 在当今信息化时代,PDF文档因其便携性、安全性及兼容性等优点,已成为办公领域的重要格式。然而,PDF文件在扫描或处理大量图像时,往往体积较大,对存储空间...

    组合优化问题与现代优化算法.pdf

    组合优化问题与现代优化算法.pdf组合优化问题与现代优化算法.pdf组合优化问题与现代优化算法.pdf组合优化问题与现代优化算法.pdf组合优化问题与现代优化算法.pdf

    kindle的扫描PDF救星

    k2pdfopt是一款强大的PDF优化工具,它可以执行以下操作: 1. **文本识别(OCR)**:通过光学字符识别技术,将扫描的图像转换成可编辑、可搜索的文本。 2. **页面裁剪**:自动或手动调整页面边界,去除空白区域,使...

    PDF大小优化C#程序

    PDF大小优化C#程序是一种用于减小PDF文件占用存储空间的技术,主要通过对PDF文档中的图像进行压缩和优化来实现。在C#编程环境下,开发者可以利用各种库和API来实现这一功能,使得用户在保持文档质量的同时,降低其在...

    unity性能优化(pdf).rar

    本PDF文档很可能是针对Unity引擎的性能优化策略进行深入探讨的资料,涵盖了多方面的内容,包括但不限于以下几个关键知识点: 1. **内存管理**:Unity引擎在运行时会分配和释放大量内存,优化内存使用可以减少垃圾...

    Android性能优化.pdf

    【Android性能优化】是Android开发中的重要环节,涵盖了多个关键领域,包括ANR问题解析、crash监控方案、启动速度与执行效率优化、内存优化、耗电优化、网络传输与数据存储优化以及APK大小优化。 **ANR问题解析**是...

    机械优化设计 第4版.pdf

    机械优化设计 第4版.pdf 哈工大版

    OracleSQL的优化.pdf

    Oracle SQL 优化 Oracle SQL 优化是数据库性能优化的关键部分。为了提高数据库的性能,我们需要从五个方面进行调整:去掉不必要的大型表的全表扫描、缓存小型表的全表扫描、检验优化索引的使用、检验优化的连接技术...

    凸优化——中文版.pdf

    《凸优化》是一本深入探讨优化理论和技术的书籍,尤其关注在机器学习领域中的应用。在机器学习中,我们经常需要找到一个模型的最优参数,这通常涉及到优化问题的解决。凸优化是优化理论的一个重要分支,它研究的是在...

    图片文本转pdf

    PDF优化是为了减小文件大小,提高打开速度,同时保持文档的清晰度。优化可能包括压缩图像、删除未使用的字体、去除元数据等步骤。Adobe Acrobat的“优化PDF”功能能帮助用户平衡质量和文件大小,对于需要通过电子...

    群体智能优化算法.pdf

    群体智能优化算法 群体智能优化算法是指通过合作、竞争、交互与学习等机制,多个简单个体构成一个群体,表现出高级和复杂的功能的一类算法。这种算法不依赖于梯度信息,对待求解问题无连续、可导等要求,使得该类...

    GPRS原理及其网络优化.pdf

    GPRS原理及其网络优化.pdfGPRS原理及其网络优化.pdfGPRS原理及其网络优化.pdf

    离散最优化算法.pdf

    离散最优化算法.pdf

    LightTools优化教程.pdf

    LightTools优化教程.pdf

    凸优化_Boyd_王书宁译.pdf

    《凸优化》是由著名学者Stephen Boyd撰写的一本经典教材,王书宁教授将其翻译成中文,便于中国的读者理解和学习。这本书在清华大学出版,是许多工程、数学和统计学专业学生以及研究人员的重要参考资料。凸优化是优化...

    Oracle数据库性能优化PDF

    资源名称:Oracle数据库性能优化 PDF内容简介:本书面向实际应用,从多个角度出发,对Oracle优化中的很多关键问题进行了深入全面的探讨,涵盖了Oracle优化的各个技术层面,从内存优化、IO规划及优化,到SQL优化调整...

Global site tag (gtag.js) - Google Analytics