| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Member | DPIs of images in PDFs Hi all, I have a collection of PDFs that I will be printing at varying dimensions. Does anyone know how I could go about analysing the images embedded in the PDF to determine the 'DPI' of each image in the actual printout? In reality, I can work out everything I need, so long as I can work out the dimensions of the 'element' that the images are in in the PDF. Hopefully that makes sense to somebody: if not, feel free to say! I'm looking to do it with PHP in a Linux environment. I have tried with pCOS but apparently it's not possible, though I'm happy to be corrected. If I need to pay for a library, I'm happy to do so, so long as the price, support and reliability are right. Thanks... |
| |
| | #2 (permalink) |
| DNOA Member | I don't know much about Adobe Acrobat products, but you may need more than just Adobe Reader to extract the images and get their DPI... it may require a full version of Adobe Acrobat.
__________________ codeboards A high-quality community of programmers -- Join today and post! We want new members! |
| |
| | #3 (permalink) | |
| NamePros Legend | you set the DPI in the print driver - in Windows XP, for Adobe, go to the Control Panel, open the Printers, right-click on "Adobe PDFWriter", then select properties. Click on "Preferences", "Page Setup", then select the resolution in the "Graphic" section. but if you do your design just for online purposes usually 72dpi is ok for .pdf images Quote:
| |
| |
| | #4 (permalink) | |
| NamePros Member | Quote:
The problem is that I'm not the one actually creating the PDFs... | |
| |
| | #5 (permalink) | |
| NamePros Legend | If that's the case then there's a need to know the pdf creator software that your programmer will use, advise him/her to get to the specific dpi you want. dpi of images are not that important to be huge, since .pdf has built-in resolution fixer for images, it's not a big deal. setting it up as 300dpi will make your .pdf bloated and will usually hang on load time. setting it up like 72dpi is the set standard Quote:
| |
| |
| | #6 (permalink) | |
| DNOA Member | Quote:
__________________ codeboards A high-quality community of programmers -- Join today and post! We want new members! | |
| |
| | #7 (permalink) | |
| NamePros Legend | ive already answered that read this: http://www.namepros.com/2906998-post5.html my given option is from 72dpi to 300dpi that solves it. Quote:
| |
| |
| | #8 (permalink) | |
| DNOA Member | Quote:
__________________ codeboards A high-quality community of programmers -- Join today and post! We want new members! | |
| |
| | #9 (permalink) | |
| NamePros Legend | format it at 300dpi and print at 300dpi res on screen and printer i've already answered that as well http://www.namepros.com/2906988-post3.html Quote:
| |
| |
| | #10 (permalink) | |
| DNOA Member | Quote:
__________________ codeboards A high-quality community of programmers -- Join today and post! We want new members! | |
| |
| | #11 (permalink) |
| NamePros Legend | for the op as well kindly rethink how you approach this? btw maybe pdf is not the solution, because pdf is made to be portable and small in file size not intended for high resolution printing but just for portable quick reading on the computer but if you have the pdf's already you need a converter http://www.google.com.ph/search?q=pd...ient=firefox-a http://www.123fileconvert.com/ |
| |
| | #12 (permalink) |
| NamePros Member | Thanks for all the posts guys. The thing is, this is not really something where I can change the approach: I'm coding up a web interface to a print shop that is to automate the checking of random jobs that are being uploaded by clients... I think I may have found a program that will let me check the image details: if anyone is interested, I'll let you all know the result. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |