QueHow

A How-To and wiki Blog

  • Operating System
    • Windows
      • Windows 10
      • Windows 7
    • Linux
  • Software
    • Application Software
    • Microsoft Office
      • Outlook
      • Word
      • PowerPoint
  • Internet
    • Browsers
      • Mozilla Firefox
      • Google Chrome
    • CMS
    • Tips & Tricks
  • Website
    • ecommerce
    • Google
    • Social Networking
    • General Websites
  • Mobile
  • Email
    • Gmail
  • Wiki

How to extract images from pdf file in Ubuntu 14.04

By Neha T Leave a Comment

Do you want to extract images from pdf file?. Yes, you can easily obtain images from any pdf file by using a simple yet efficient tool named as “pdfimages”. By default, the extracted image format is portable pixmap (ppm) or portable bitmap (pbm).

However, you can easily change these image format to jpeg or png. Just have a glance at this article to find out how to extract images from pdf file in Ubuntu 14.04

Steps to extract images from pdf file:

Step 1: First open your Ubuntu terminal and then type: “pdfimages /home/teckpix/Documents/sample.pdf /home/teckpix/Documents/ExtractedImages/image”.

how-to-extract-images-from-pdf-file-in-ubuntu-14-04

 

Step 2: Here, You may see that all the images inside sample.pdf are now extracted under ExtractedImage folder having ppm image format.

how-to-extract-images-from-pdf-file-in-ubuntu-14-04

 

Step 3: If you want to change the format of images as JPG then type: “pdfimages -j /home/teckpix/Documents”/sample.pdf /home/teckpix/Documents/ExtractedImages/image. (Note: you can also change these image formats to PNG and TIFF by using “-png” and “-tiff” respectively).

how-to-extract-images-from-pdf-file-in-ubuntu-14-04

 

Step 4: Here, you’ll see all your image has been changed to JPG image format.

how-to-extract-images-from-pdf-file-in-ubuntu-14-04

 

Step 5: Now, if you want to extract images from particular page, then type: “pdfimages -f 2 -j /home/teckpix/Documents/sample.pdf /home/teckpix/Documents/ExtractedImages/image”. (Where ‘2’ in this command is the page number).

how-to-extract-images-from-pdf-file-in-ubuntu-14-04

 

Step 6: If you want to extract images from a particular page and simultaneously change the image format, then type: “pdfimages -l 1 -j /home/teckpix/Documents/sample.pdf /home/teckpix/Documents/ExtractedImages/image”.

how-to-extract-images-from-pdf-file-in-ubuntu-14-04

 

Step 7: Finally, you can also use: “pdfimages -opw ‘password’ -j /home/teckpix/Documents/sample.pdf /home/teckpix/Documents/ExtractedImages/image”. (Where “-opw” is used when a file contains owner password and for user password you can use “-upw” in place of “-opw”).

how-to-extract-images-from-pdf-file-in-ubuntu-14-04

That’s all friends. Keep reading.

You Might Also Like:

How to convert pdf file to text file in Ubuntu 14.04 How to change the default file format in Microsoft WordHow to change the default file format in Microsoft Word How to create a zip file using terminal in Ubuntu 14.04 How to add a force quit button to the unity dock in Ubuntu 14.04 How to prevent others from accessing your home directory in Ubuntu 14.04 Change a File Extension in Windows 10-featured imageHow to Change a File Extension in Windows 10? How to batch convert text documents in Ubuntu 14.04 How to convert a GIF file into a PDF documentHow to convert a GIF file into a PDF document

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed

  • How to Install and Use TELNET in Ubuntu
  • How to install Hindi fonts in MS Word
  • How to Change a File Extension in Windows 10?
  • How to create a flipkart account in 3 simple steps
  • How to Change Monitor Refresh Rate in Windows 10?
  • How to install IIS on Windows 10
  • How to Insert Clickable Checkbox in MS Word 2016?
  • How to Set Auto Reply in Outlook 2016?
  • How to Login as Administrator in Windows 10?
  • How to Check RAM Size and System Type in Windows 10?

Recent Additions

  • How to Download and Save Instagram Stories?
  • How to Deactivate Account in Instagram?
  • How to Download Private Instagram Stories?
  • How to Slow Motion a Video in PowerDirector?
  • How to Check Who Unfollow You On Instagram?
  • How to Use Boomerang on Instagram?
  • How to Edit Video in PowerDirector?
  • How to Mute Someone’s Stories or Posts on Instagram?
  • How to Hide and Unhide Posts on Instagram?
  • How to Change Video Background in PowerDirector?

Related Searches

  • How to Generate a Battery Report in Windows 10?
  • How to Password protect your MS PowerPoint file?
  • How to use Virtual Desktops in Windows 10
  • How to restrict editing in Microsoft Word Document
  • How to Create a New Notebook in OneNote 2016?

Copyright © 2021 · QueHow · Contact Us