Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: I don't know why acrobat reader rebuild my pdf file
Conf: (P-PDF) Developers, Msg: 85575
From: teddyboy121
Date: 4/4/2003 07:21 PM

hi,excuse me!beg your pardon for my poor english expression.
I have wrote some code to convert image(*.jpg) to PDF,but when i open it,it ok to display it, but the acrobat reader always display a dialog(Rebuilt...),and prompt me to save it when i close this pdf document. if save,acrobat reader changed my pdf file,i don't why? and open some pdf file make by some free pdfmaker tools such pdflib,it nothing to happen,i compare these file and the file caeated by my code to find something,can you help me? thank you for any help!!
if you need my source,pls mail to me!

here the file maked by my code and the file maked by pdflib.

/***********my file**************/
%PDF-1.4
%
4 0 obj
<&lt;/Type/Page
/Parent 1 0 R
/Resources 8 0 R
/MediaBox[0 0 283 212]
/Contents[9 0 R]
>>
endobj
5 0 obj
<&lt;/Type/XObject
/Subtype/Image
/Width 283
/Height 212
/ColorSpace/DeviceRGB
/BitsPerComponent 8
/Length 7 0 R
/Filter[/DCTDecode]
/DecodeParms[<<>>]
>>
stream
<...the sample image data ...>
endstream
endobj
7 0 obj
9904
endobj
8 0 obj
<</ProcSet[/PDF/ImageC]
/XObject<<
/Image0 5 0 R
>>
>>
endobj
9 0 obj
<</Length 10 0 R
>>
stream
q
283 0 0 212 0 0 cm
/Image0 Do
Q
endstream
endobj
10 0 obj
36
endobj
3 0 obj
<</Title (ImageInPDF)
/Author (teddyboy)
/Subject (SSubject)
/Keywords (China BCL)
/Creator (Creator)
/Producer (BCL)
/CreationDate (D:19780626060606)
/ModDate (D:19760216060606)
>>
endobj
1 0 obj
<</Type/Pages
/Count 1
/Kids[4 0 R ]
>>
endobj
2 0 obj
<</Type/Catalog
/Pages 1 0 R
>>
endobj
xref
0 2
0000000000 65535 f
0000010630 00000 n
7 4
0000010206 00000 n
0000010228 00000 n
0000010300 00000 n
0000010389 00000 n
trailer
<</Size 6
/Info 3 0 R
/Root 2 0 R
>>
startxref
10732
%%EOF


/**********the file created by dflib******************/

%PDF-1.3
%
4 0 obj
<</Type/XObject
/Subtype/Image
/Width 283
/Height 212
/BitsPerComponent 8
/ColorSpace/DeviceRGB
/Filter[/DCTDecode]
/DecodeParms[<<>>]
/Length 5 0 R
>>
stream
<...the sample image data ...>
endstream
endobj
5 0 obj
9904
endobj
7 0 obj
<</Length 8 0 R
>>
stream
q
283 0 0 212 0 0 cm
/I0 Do
Q
endstream
endobj
8 0 obj
30
endobj
6 0 obj
<</Type/Page
/Parent 1 0 R
/Resources 9 0 R
/MediaBox[0 0 283 212]
/Contents[7 0 R ]
>>
endobj
9 0 obj
<</ProcSet[/PDF/ImageC]
/XObject<</I0 4 0 R
>>
>>
endobj
3 0 obj
<</Title (sample)
/Creator (teddyboy)
/Author (bcl)
/CreationDate (D:20030319161048)
/Producer (PDFlib 4.0.1 \(Win32\))
>>
endobj
1 0 obj
<</Type/Pages
/Count 1
/Kids[6 0 R
]>>
endobj
2 0 obj
<</Type/Catalog
/Pages 1 0 R
>>
endobj
xref
0 10
0000000000 65535 f
0000010528 00000 n
0000010582 00000 n
0000010390 00000 n
0000000015 00000 n
0000010103 00000 n
0000010222 00000 n
0000010123 00000 n
0000010204 00000 n
0000010325 00000 n
trailer
<</Size 10
/Info 3 0 R
/Root 2 0 R
>>
startxref
10629
%%EOF


PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

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

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.