Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. pdfimages -j test.pdf test && for file in $(find . -name "test*.jpg"); do identify "$file"; done
  2.  
  3. ./test-000.jpg JPEG 2500x1961 2500x1961+0+0 8-bit DirectClass 1.022MB 0.000u 0:00.000
  4.  
  5. $ pdfimages -list example.pdf
  6. page num type width height color comp bpc enc interp object ID x-ppi y-ppi size ratio
  7. --------------------------------------------------------------------------------------------
  8. 1 0 image 2244 2244 cmyk 4 8 image no 215 0 301 301 418K 2.1%
  9. 2 1 image 900 600 rgb 3 8 image no 324 0 1524 1525 35.5K 2.2%
  10.  
  11. Image: test-0000.jpg
  12. Format: JPEG (Joint Photographic Experts Group JFIF format)
  13. Mime type: image/jpeg
  14. Class: DirectClass
  15. Geometry: 6600x5100+0+0
  16. Resolution: 600x600
  17. Print size: 11x8.5
  18.  
  19. Format: PDF (Portable Document Format)
  20. Mime type: application/pdf
  21. Class: DirectClass
  22. Geometry: 792x612+0+0
  23. Resolution: 72x72
  24. Print size: 11x8.5
  25.  
  26. 5100/8.5=600
  27. 6600/11.0=600
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement