| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: May 2006
Posts: 160
![]() | 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. ????: NamePros.com http://www.namepros.com/programming/485167-dpis-of-images-in-pdfs.html Thanks... |
| |
| | #3 (permalink) | ||||
| NamePros Legend Join Date: Dec 2005 Location: Philippines - www.Nabaza.com
Posts: 19,785
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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
| ||||
| |
| | THREAD STARTER #4 (permalink) | ||||
| NamePros Member Join Date: May 2006
Posts: 160
![]() |
The problem is that I'm not the one actually creating the PDFs... | ||||
| |
| | #5 (permalink) | ||||
| NamePros Legend Join Date: Dec 2005 Location: Philippines - www.Nabaza.com
Posts: 19,785
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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
| ||||
| |
| | #6 (permalink) | ||||
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #7 (permalink) | ||||
| NamePros Legend Join Date: Dec 2005 Location: Philippines - www.Nabaza.com
Posts: 19,785
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ive already answered that read this: http://www.namepros.com/2906998-post5.html ????: NamePros.com http://www.namepros.com/showthread.php?t=485167 my given option is from 72dpi to 300dpi that solves it.
| ||||
| |
| | #8 (permalink) | ||||
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #9 (permalink) | ||||
| NamePros Legend Join Date: Dec 2005 Location: Philippines - www.Nabaza.com
Posts: 19,785
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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
| ||||
| |
| | #10 (permalink) | ||||
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #11 (permalink) |
| NamePros Legend Join Date: Dec 2005 Location: Philippines - www.Nabaza.com
Posts: 19,785
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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/ |
| |
| | THREAD STARTER #12 (permalink) |
| NamePros Member Join Date: May 2006
Posts: 160
![]() | 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. |
| |