who can help me convert a JPEG file to PDF format by command line?

The JPEG compression algorithm is at its best on photographs and paintings of realistic scenes with smooth variations of tone and color. For web usage, where the amount of data used for an image is important, JPEG is very popular. JPEG is also the most common format saved by digital cameras.  JPEG is a widely used method of lossy compression for image. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality. JPEG typically achieves 10:1 compression with little perceptible loss in image quality.  So when I want clear up my JPEG files, in order to make them more orderly and clearly, I will convert them to PDF files then keep them in a PDF folder.

Then I will show you how to convert the  JPEG  file to PDF file  by command line.

  • Download  a software named Image2PDF in the command version here: https://www.verypdf.com/tif2pdf/tif2pdf.htm
  • Follow the menu path [start] –> [Run], input “cmd” or “cmd.exe” in the popup dialog of “Run”, and then press “OK”, there comes a MS-DOS command prompt window. You can also press and hold the “Window” key and press “R” of keyboard to launch the “Run” dialog and start the MS-DOS command prompt window.
  • The current directory of the MS-DOS command prompt is “C:\Documents and Settings\USER” as default, where “USER” is the system logon name of your computer. Different in each computers, but normally speaking, software Image2PDF in the command line will be stored in   C:\Program Files\VeryPDF Image2PDF v3.2\image2pdf_cmd3.2.  Or you can search it in your computer. Once you find this software, please call it in the MS-DOS command prompt window. As the picture shows:

Snap9

  • Please  use the commands concisely to run this the program, “–o” stands for ouput –>space –>filepath( where do you want to store the newly produced PDF file)->\filename( say you want to name the pdf file as output.pdf, please add it following the filepath but separate with file path by “\”—>space—> image file name( say you want to convert 1.jpg to PDF file, please in put the file name with the filepath( say C:\Documents and Settings\admin\Desktop\2011-9-28\file type\1.jpg ) Like the picture shows: 

Snap10

  • Once the dos window show [OK] that means the conversion is successfully.Then you can find your PDF file according to the file path.

Snap12

This article is mainly about the conversion from JPEG  file to PDF file, if you want to use the GUI Version of this software, you also can get from this website.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Random Posts

Leave a Reply

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


Verify Code   If you cannot see the CheckCode image,please refresh the page again!