Convert Samsung HEIC files to png easily with Linux.
How to convert a Samsung HEIC file to a PNG image on Linux easily.
How to convert a Samsung HEIC file to a PNG image on Linux easily.
Convert an IP address to binary easily.
The new successor to the jpeg image format is called jxl, this allows much higher compression than Jpeg and would be awesome for websites with a lot of images. I found a nice resolution png image and I converted it to webp. This gave me a 55 kilobyte image, compressed from a 1.5 Megabyte png … Read more
Creating a tiled image on Linux with the command line is very easy to do. This command will take the pyramid.bmp file and tile it as a 3440×1440 widescreen image. ┌─[jason@jason-desktop]─[~/Pictures/Windows/bitmaps] └──╼ $convert -size 3440×1440 tile:pyramid.bmp Tiles.jpg┌─[jason@jason-desktop]─[~/Pictures/Windows/bitmaps] └──╼ $convert -size 3440×1440 tile:pyramid.bmp Tiles.jpg This example will create a massive 7680×2160 pixel image. ┌─[jason@jason-desktop]─[~/Pictures/Windows/bitmaps] └──╼ $convert … Read more
The XPS document format is used by Windows to save a document when the document writer is used. The document reader in Ubuntu can open these just fine, but I wanted to be able to convert one to a PDF document. This is how I did it with the command line. Install the libgxps-utils package … Read more
To convert a MIDI file to OGG on Linux, use the LMMS music-making application. Import a MIDI file by opening the Import menu. This is the Project->Import menu option. Then export the MIDI file to an OGG format file with default settings. This will create a very high-quality rendering of a MIDI file, this uses … Read more
ImageMagick(1) can be used to put a watermark on an image easily. The command below will place a TV styled watermark on an image in the lower left corner. This is very useful to watermark images you place on the Internet. convert pripyat.jpg ABCTV2005.png -gravity southeast -composite output.pngconvert pripyat.jpg ABCTV2005.png -gravity southeast -composite output.png The … Read more
Converting a short video clip to a small webm file is very easy. Firstly, do this as part 1 of the two pass encoding process. ffmpeg -i BarakaClip.mkv -c:v libvpx -deadline good -cpu-used 5 -b:v 1000K -qmax 50 -an -f null -ffmpeg -i BarakaClip.mkv -c:v libvpx -deadline good -cpu-used 5 -b:v 1000K -qmax 50 -an … Read more
Emulate a Polaroid photo with the imagemagik package on Linux. convert lifeinCanberra_bg.jpg -polaroid 0 house.jpgconvert lifeinCanberra_bg.jpg -polaroid 0 house.jpg This is the original image. https://www.asis.gov.au/media/Images/Rebrand/lifeinCanberra_bg.jpg. And this is the image after manipulation. Double the size of an image, while retaining relatively good image quality. convert missile.jpg -magnify missilebig.jpgconvert missile.jpg -magnify missilebig.jpg Take a screenshot of … Read more
This post will show how to rip the audio from a video file to a wav and then convert that to an ogg file. This is very simple and easy to do. This long command will rip the audio from the file and save it in the out.wav file. localhost% mplayer -ao pcm:fast:file=out.wav -vo null … Read more
The jp2a package for Ubuntu will convert a jpeg image into an ascii text representation. This is useful for creating useful ascii images to post on the Internet. Install it by typing: sudo apt-get install jp2a and then convert an image this way. ~$ jp2a myimage.jpg~$ jp2a myimage.jpg This will output ascii text to the … Read more
This is how to use Timidity to convert a MIDI file into an Ogg Vorbis audio file. This is very useful for playing them with Banshee or Audacious. [homer@localhost Documents]$ timidity sound009.mid -Ov -o blood009.ogg Playing sound009.mid MIDI file: sound009.mid Format: 1 Tracks: 10 Divisions: 480 Sequence: Seq-1 Track name: Track-5 Track name: Track-7 Track … Read more
One important skill in computer networking is converting an IP address to binary from decimal. Here is an example. 172.124.64.2 This IP address converts into this binary number. 10101100.01111100.01000000.00000010 The way I find is the easiest with pen and paper is to write down this number sequence. 128 – 64 – 32 – 16 – … Read more
The rename command for the Linux shell allows you to rename a directory full of files en-mass. This first example, based on the examples in the rename manual page. Firstly renaming a directory full of xhtml files to the html extension. rename ‘s/\.xhtml$/.html/’ *.xhtmlrename ‘s/\.xhtml$/.html/’ *.xhtml And renaming a folder full of Jpeg files with … Read more
The enlightenment E17 desktop on Linux Mint 12 works a million times better than the Ubuntu packages did with 12.04. They were very unstable, but the Linux Mint 12 distribution is as stable as Linux should be. Even if it is a beta release as the Ubuntu distribution was, there is no excuse for the … Read more