Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) Acrobat 7


Topic: RE: Compressed PDF display blank page in Reader 7 but ok in 6/5 (Via Email)
Conf: (P-PDF) Acrobat 7, Msg: 126246
From: ldefurio
Date: 1/25/2005 01:16 PM

That is correct. Adobe Reader conforms to the PDF Specification. If PDFs are
do not conform to the PDF spec - they may not open in Adobe Reader.

Another example of PDF that was not written to match the specification.

According to the PDF Specification, the Length attribute is required (I put
some quotes below.) And the Stream Extent discussion indicates everything
has to be consistent -- the length of the data has to match the Length
attribute.

TABLE 3.4 Entries common to all stream dictionaries

KEY TYPE VALUE

Length integer (Required) The number of bytes from the beginning of the line
following the keyword stream to the last byte just before the keyword
endstream. (There may be an additional EOL marker, preceding endstream, that
is not included in the count and is not logically part of the stream data.)
See "Stream Extent," above, for further discussion.

From Page 37:

Stream Extent

Every stream dictionary has a Length entry that indicates how many bytes of
the PDF file are used for the stream's data. (If the stream has a filter,
Length is the number of bytes of encoded data.) In addition, most filters
are defined so that the data is self-limiting; that is, they use an encoding
scheme in which an explicit end-of-data (EOD) marker delimits the extent of
the data. Finally, streams are used to represent many objects from whose
attributes a length can be inferred. All of these constraints must be
consistent.

For example, an image with 10 rows and 20 columns, using a single color
component and 8 bits per component, requires exactly 200 bytes of image
data. If the stream uses a filter, there must be enough bytes of encoded
data in the PDF file to produce those 200 bytes. An error occurs if Length
is too small, if an explicit EOD marker occurs too soon, or if the decoded
data does not contain 200 bytes.

It is also an error if the stream contains too much data, with the exception
that there may be an extra end-of-line marker in the PDF file before the
keyword endstream.

-----Original Message-----
From: p-pdf-acrobat7 Listmanager
[mailto:p-pdf-acrobat7.listmanager@forum.planetpdf.com]
Sent: Friday, January 21, 2005 8:51 AM
To: Recipients of 'p-pdf-acrobat7' suppressed
Subject: Compressed PDF display blank page in Reader 7 but ok in 6/5

From: "Erling"

--------- Planet PDF Forum | http://forum.planetpdf.com ----------

Forget about this. It's an error in my PDF-document. Reader 7.0 requires the
length attribute to be set correctly. Reader 5/6 does not...





To reply: mailto:p-pdf-acrobat7.126045@forum.planetpdf.com
To start a new topic: mailto:p-pdf-acrobat7@forum.planetpdf.com
To login: http://forum.planetpdf.com/
To (un)subscribe: mailto:p-pdf-acrobat7.list-request@forum.planetpdf.com

--------------------------------------------
ARTS PDF Aerialist -- The ultimate Acrobat plug-in and #1 selling product at
PDF Store

Take Adobe Acrobat to the next level with ARTS PDF Aerialist.
Advanced tools for splitting, merging, stamping, bookmarks, hyperlinks and
process automation.

Download free trial now!
http://www.planetpdf.com/goto.asp?ID=artspdf_aerialist&fm
--------------------------------------------



PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: Got holiday catering?

Bret Thompson, chef and owner of LA's Milk restaurant on Beverly, has joined forces with the California Milk Processor Board to compile a set of dairy-based recipes for the holiday season.

November 20, 2008
Search Planet PDF
more searching options...






PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools enfocus

FileOpen PDFNet SDK: PDF Component. Cross-platform PDF library

PDF Converter: Create, Convert PDF to Word/Excel Solid Documents - PDF to Word Converter

Debenu: Desktop Document Management, Archiving and Tagging Software Visual Integrity: Convert, Create, Extract, Merge and Modify PDF

SmartSoft

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

Adobe Acrobat & PDF Central Conference 2008

September 23 - 25, 2008 - Minneapolis, Minnesota

Dedicated exclusively to Adobe Acrobat and PDF, the 2008 Adobe Acrobat and PDF Central Conference presents a unique opportunity to broaden your understanding of how PDF technologies can positively affect your business productivity.

Discover the new features of Acrobat 9 and expand your knowledge of PDF technology. Participate in various educational seminars, such as Acrobat Form Fundamentals, Acrobat Security, Creating PDF Portfolios, Scripting with the new Flash Annotation in PDF, JavaScript for Acrobat, and much more.

PDF Store Categories