Sir,
I have question on regarding PDF Files. I am not able to identify
the PDF file profiles using JHOVE.
- if PDF is generated using Adobe its showing the profile details.
- If PDF is generated using i Text or other API libraries, its not showing the profile details. i
tested with jhove1.6 to jhove1_10 all available versions. Still the same
result.
- is JHOVE limited for Adobe generated PDF(s)?
I tested with different PDF producers documents.result is still same as above mentioned. could you please find the attached PDF documents(proper and improper also)with console output
The file was uploaded as a .RAR file. I don't have anything that will expand that file type. Could you upload it as a PDF? Thanks.
I have tested with different pdf producers. this is one of PDF document output of console. could you find the attached PDF document.
4.pdf (file producer-iText 4.2.0 by IT3XT) console output
Format::PDF
Myme Type::application/pdf
Version::1.4
profile::[]
PROFILE SIZE--0
Attached is the output I'm getting from running JHOVE on 4.pdf.
I'm very confused, actually. What you show in your comment doesn't look like JHOVE output. JHOVE doesn't produce double colons and doesn't use the spelling "Myme Type." Exactly how are you using JHOVE, and what version are you using? Old versions can be quite buggy in their treatment of PDF.
Sir,
I clearly mentioned in my prevoius reply, that is my console output. i want to know the 4.pdf document file profile detail.
whatever you send jhoveoutput.txt ,which contains metadata of that particular file.no where profile details.
If suppose that test this attached 6.pdf document which is showing profile details(Adobe generated PDF).
test the previous pdf document(4.pdf) which is not showing profile details(other API library generated PDF).
see these two files jhoveoutput.txt output result carefully.
4.pdf is not contains profile details and 6.pdf is contains profile details. that means
when i am using adobe generated PDF,it is giving proper profile details. Other producer generated PDF(s) i am not able to identify profile details.
this is what i understood after testing the different kind of producer PDF files. right now i am attaching 6.pdf file. test it once. If i did
any wrong while using JHOVE suggest me how to get profile details.my jhove version is jhove-1_10. I have a lot of test files with different producers,but i am not able to upload all files.so I am sending this single file. previous upload .RAR file is contains so many test files
thanks & regards,
Suman B
I was going to ask on Twitter if someone can help with this, but you've marked the report as private. I don't want to change how you've marked it, but there would be a better chance of getting an answer if more people could look at your report.
could you just edit marked report as public. I am not able to edit it.
Last edit: Suman Behara 2013-07-16
It looks like Suman is using JHOVE as a library, not a CLI tool, so that is not JHOVE output. If you run jhove (1.8) on 6.pdf, it includes the line 'Profile: Linearized PDF'. If you run the same jhove on 4.pdf, it does not state any profile. Presumably this is because the file has no 'Profile', it's just generic PDF, and the 'solution' would be to post-process the PDF or tell iText to write a linearized version.
This doesn't seem to be a bug so not moving to GitHub Issues.