This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, As we know most of the people keep PDF reader as browser plugin so I was just wondering if we can generate a PDF of most of the images and add a link to this PDF in index.html. Has anybody tried this before? Is it recommended?
Rajan Choudhary wrote:As we know most of the people keep PDF reader as browser plugin
Who is "we", exactly? You and a bunch of people you happen to know? I certainly don't know that, and I certainly don't allow my browser to open document formats for which the most widely used readers need to be updated with security patches on a regular basis. Nor do most of the people I know.
Read Cade's book thoroughly he has mentioned that one of the candidate failed may be due to something like this. Exam instructions clearly say a JAR file which contains text that can be read in a browser(HTML). Images should be JPG, GIF or PNG etc...
IMHO, It will be a brave effort to fail the exam if you do something like this or may be you can set an example, could you please try it out?
I have decided not to use PDF. I was just thinking a kind of short cut to deal with the mockups by printing them into PDF (as they are not part of mandatory deliverables) so the overall size of the delivery can be reduced and I see PDF as more readable as compared to HTML page where I need to manage more links (top, bottom, back to home etc)
Rajan Choudhary wrote:the overall size of the delivery can be reduced
You might be seeing the PDF as being smaller than the sum of the images, however this is misleading. The images are still stored within the PDF, however sometimes (depending on the image format) they may be compressed.
But this is actually a hidden negative - when you try to put the PDF into the deliverable Jar file, you will be trying to compress a compressed file. Almost all compression routines do badly at this, and I would be surprised if the Jar containing the PDF was smaller than the Jar containing the images.
Rajan Choudhary wrote:and I see PDF as more readable as compared to HTML page where I need to manage more links (top, bottom, back to home etc)
Again, I would see this as a hidden negative. If you have the links, why remove them?
A good PDF document would have navigation links - they are not that hard to make.
Alternatively, if you like having a single-flow PDF document, then you could effectively create a single-flow HTML document.