The other day, while using LL3.6, I needed to convert a *.png image file to an *.jpg one, before I could upload it to a website. I found the solution and thought I would share it with you - it's dead easy, which is what I like ...
It works in the terminal, through the imagemagick application (which is pre-installed on LL3.6), as far as I'm aware.
1. Open terminal
2. Type:
... where "image" is the name of your image file
However, you will need to indicate where image.png is located. For example, if it is in 'Downloads' folder, then type:It will then leave an image.jpg version of the file in 'Downloads', alongside the image.png one.
Other information:
It works in the terminal, through the imagemagick application (which is pre-installed on LL3.6), as far as I'm aware.
1. Open terminal
2. Type:
Code:
convert image.png image.jpg
However, you will need to indicate where image.png is located. For example, if it is in 'Downloads' folder, then type:
Code:
convert /home/[username]/Downloads/image.png image.jpg
Other information:
- it will keep the original file you started with, i.e. it won't be deleted during conversion
- other image file types can be converted (e.g. *.gif, *.bmp, *.tif), and in any direction, e.g. bmp to jpg or jpg to bmp, etc
- for batch files (those which contain commands), replace convert with mogrify
- the convert command can be used to rotate or resize images - for further details see https://www.lifewire.com/convert-linux-c...nd-4097060
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work