Unstoppable Domains โ€” AI Assistant

DPIs of images in PDFs

SpaceshipSpaceship
Watch

TwistMyArm

Established Member
Impact
9
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...
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
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.
 
0
•••
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

TwistMyArm said:
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...
 
0
•••
weblord said:
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
Thanks weblord... I guess it wasn't as obvious as I was hoping, but I'm actually after a programmatic way of doing it (for a website, in particular).

The problem is that I'm not the one actually creating the PDFs...
 
0
•••
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

TwistMyArm said:
Thanks weblord... I guess it wasn't as obvious as I was hoping, but I'm actually after a programmatic way of doing it (for a website, in particular).

The problem is that I'm not the one actually creating the PDFs...
 
0
•••
weblord said:
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
Yeah but if you intend to print it you will need something above 200 DPI to look decent. In case you didn't notice his first phrase: "to print at various dimensions", the larger you print the larger the image would have to be (filesize), of course.
 
0
•••
ive already answered that read this:
http://www.namepros.com/2906998-post5.html
my given option is from 72dpi to 300dpi
that solves it.

mholt said:
Yeah but if you intend to print it you will need something above 200 DPI to look decent. In case you didn't notice his first phrase: "to print at various dimensions", the larger you print the larger the image would have to be (filesize), of course.
 
0
•••
weblord said:
ive already answered that read this:
http://www.namepros.com/2906998-post5.html
my given option is from 72dpi to 300dpi
that solves it.
You can't just print a 72 dpi image at 300 dpi. Your image will be not even 1/3 the size it shows up as on the screen. You need to format the image in the first place - before placing it in a PDF - to be above 200 DPI to be acceptable for good printing.
 
0
•••
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

mholt said:
You can't just print a 72 dpi image at 300 dpi. Your image will be not even 1/3 the size it shows up as on the screen. You need to format the image in the first place - before placing it in a PDF - to be above 200 DPI to be acceptable for good printing.
 
0
•••
0
•••
0
•••
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.
 
0
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back