Convert any image file to pdf in Linux

Linux has a convert command that can manipulate images of any popular format from the command line individually or in a batch. In addition¬†to the above, it can also convert image files into PDF files. To try it out,¬† open a terminal window and type following command at the $ prompt: $ convert image.jpg image.pdf … Continue reading Convert any image file to pdf in Linux

Convert and compress PNG files to JPG in bulk

To compress PNG files to JPG, you can follow steps below: I. Convert all PNG files to JPG: Create a script using your favorite Linux text editor and type in the following lines: for i in $(ls *.png); do convert $i $i.jpg done II. Convert the JPG quality to 50% compression To compress the JPG … Continue reading Convert and compress PNG files to JPG in bulk