Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-07-2011, 08:13 AM   #1 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 557
Joseph Nardone is on a distinguished road
Default quick question about PDF's

Hi:

How would you describe a small-file-size PDF that includes text and font vector info as opposed to a large-file-size PDF that is made of images created by high-resolution scanning of a printed copy of the first PDF?

I need to specify what "type" of PDF's are required for inclusion in an iPad app and the last time the client sent me two different 15 page PDF's of which one was 150K and the other was 4 megs even though they were both almost identical content.

Thanks,

Joseph
Joseph Nardone is offline   Reply With Quote
Old 09-07-2011, 02:50 PM   #2 (permalink)
Registered Member
 
headkaze's Avatar
 
Join Date: Feb 2010
Posts: 359
headkaze is on a distinguished road
Default

I would ask for the high quality version and optimize it but that might be a problem if you don't have Adobe Acrobat.

There is a "PDF Optimizer" in Adobe Acrobat that can effect the filesize considerably. You can optimize images using jpeg or zip compression, disable font embedding, disregard objects and do a general clean up of the document.
__________________
Headsoft | Jungool
headkaze is offline   Reply With Quote
Old 09-07-2011, 02:59 PM   #3 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 241
MattW is on a distinguished road
Default

Yes, there is a huge chasm of difference between the PDF file content written out by different PDF creation apps. While writing my PDF highlighting app, I came across all sorts of crazy edge-cases that technically fall under the Adobe specs, but are a very strange implementation - lots of extraneous and duplicated data, weird formatting, and so on. And, like headkaze said, images should be compressed, but not all apps do so, and some apps store the full-size image even though it's only seen as a thumbnail in the document, etc. etc.

Can you post a screenshot of a page from each document?
__________________

Highlight PDF text like no other app: iHighlight (now available for iPad and iPhone!)
-----
Create iPhone lists with no typing: Insta-List
-----
Make spelling fun, and create your own tests: iWillSpell
-----
A fast, elegant flashlight app: Insta-Light
-----


FourSixteen Productions
MattW is offline   Reply With Quote
Old 09-07-2011, 03:23 PM   #4 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 557
Joseph Nardone is on a distinguished road
Default

Thanks. I am working in a field where I can not modify the PDF's in any way after I receive them from the client so I need to specify the type of PDF ahead of time in a way that a less-computer-savy person can understand.

As long as they are not scanned PDF's I am probably fine but what nobody I asked seems to know is what you call a not-scanned PDF. A "regular" pdf?

I might be better off specifying a maximum size per page for the the PDF - like 20K per page for black & white text.
Joseph Nardone is offline   Reply With Quote
Old 09-07-2011, 03:41 PM   #5 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 241
MattW is on a distinguished road
Default

Quote:
Originally Posted by Joseph Nardone View Post
Thanks. I am working in a field where I can not modify the PDF's in any way after I receive them from the client so I need to specify the type of PDF ahead of time in a way that a less-computer-savy person can understand.

As long as they are not scanned PDF's I am probably fine but what nobody I asked seems to know is what you call a not-scanned PDF. A "regular" pdf?

I might be better off specifying a maximum size per page for the the PDF - like 20K per page for black & white text.
Hah! The problem you face is that most non-technical people have no idea whether their PDF is scanned or not. They just see text, and therefore it's a PDF document.

I don't think you'll be able to specify a size per page, because you could have a huge PDF file, but each page can be quite small - they just happen to reference a gigantic image in the file somewhere. And do PDF creation apps even have a metric for page size in bytes?

You could write a little app that rattles through the file and makes sure there's some actual text content in it so you could reject it ahead of time? That would be quite simple to do, although I'm not sure if it solves your problem....
__________________

Highlight PDF text like no other app: iHighlight (now available for iPad and iPhone!)
-----
Create iPhone lists with no typing: Insta-List
-----
Make spelling fun, and create your own tests: iWillSpell
-----
A fast, elegant flashlight app: Insta-Light
-----


FourSixteen Productions
MattW is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 376
8 members and 368 guests
apatsufas, JackReidy, jeroenkeij, Sami Gh, tim0504, UMAD, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,671
Threads: 94,121
Posts: 402,904
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JackReidy
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:53 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0