Planet PDF Forum Archive

Planet PDF ForumThe page you are viewing is part of our 160,000 page PDF discussion forum archive spanning 1999-2008. Would you believe we have a 2nd forum archive which covers 2008 - 2011? But... if you really want to bust-a-move head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner discussions to in-depth developer and pre-press discussions.


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

LockLizard Safeguard PDF Security

Made specifically for publishers of high value information published in PDF format, it protects your PDF...

Download free demo

ARTS PDF Aerialist X

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Ubiquitous PDF: DIY PDF magazines, courtesy of CNET and Magazinify

Thanks to Magazinify.com, it's possible to have web articles delivered right to your inbox in PDF form. If that weren't enough, the nice folks at CNET have been nice enough to publish a step-by-step guide about how to set this all up using just a little time and a free Magazinify account.

September 06, 2011
Search Planet PDF
more searching options...
PDF Resources
Platinum Sponsor

ARTS PDF

Create & Edit PDF - Nitro PDF Software

Silver Sponsors

LockLizard DRM PDF Security Quick PDF Library: The Unrivaled PDF Developer Toolkit

Featured Product

ARTS PDF Crackerjack X

The most popular Acrobat plug-in for PDF-based color print production and automation.

Featured Event

Adobe Digital Marketing Summit

March 20-23, 2012 -- Salt Palace Convention Center, Salt Lake City, Utah

The Digital Marketing Summit is the premier event for digital marketers and advertisers to learn about and share key strategies for driving marketing innovation. Attend Summit to learn how you can create, measure, and optimize digital experiences to revolutionize how the world engages with ideas and information.

PDF Store Categories