How to check image dimensions using the command-line on Linux.

It is very easy to check image dimensions using the command line. Install the exiv2 package and this allows easy retrieval of image information. Just like this. ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Pictures/phone5] └─$ exiv2 ui_icon_equipment.png File name : ui_icon_equipment.png File size : 8626195 Bytes MIME type : image/png Image size : 4096 x 4096 ui_icon_equipment.png: No Exif data … Read more

Encode a video file into a PNG image easily with this script, This really does work well.

This script will encode a video file into a png image that may be shared on the Internet. This is very cool indeed, this allows a good-quality video to be shared in a relatively small image. #!/bin/env bash   : ‘ usage: script.sh <input> <hres> <yres> <fps divisor> <aspect> <audio bitrate> [<output>] example: script.sh input.mkv … Read more

How to generate a very nice colored desktop background with the command line.

The Linux command line is very useful and it can even generate you a nice wallpaper image using just the shell and ImageMagick. The example below will generate a 3440×1440 pixels wallpaper image using just the random data from /dev/urandom. ┌─[jason@jason-desktop]─[~/Documents] └──╼ $mx=320;my=256;head -c "$((3*mx*my))" /dev/urandom | convert -depth 8 -size "${mx}x${my}" -resize 3440×1440\! -channel … Read more

Create a tiled image with ImageMagick on Linux.

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

Image manipulation with the Linux shell.

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

Linux and UNIX commands that are very useful.

To view the contents of an ISO image, the isoinfo command for Linux will come in very useful indeed. Just type isoinfo -f -i myiso.iso to view the contents of the ISO image as shown in this example. C:\MEDIA\ELEMENTS\FILES\ISOS> isoinfo -f -i linuxmint-11-gnome-dvd-64bit.iso /BOOT /CASPER /EFI /ISOLINUX /MD5SUM.TXT;1 /PRESEED /_DISK /BOOT/GRUB /CASPER/FILESYSTEM.MANIFEST;1 /CASPER/FILESYSTEM.MANIFEST_DESKTOP;1 /CASPER/FILESYSTEM.SIZE;1 /CASPER/FILESYSTEM.SQUASHFS;1 … Read more

How to save an image from a Facebook post when right click save will not work.

It is annoying when you wish to save an image from a Facebook post and this will not work. But this is actually very easy using Firefox. Just right click on the image and select Inspect element with Firebug. Then drill down through the code until the URL to the image is found, just select … Read more

Plan9 from Bell labs. The alternative UNIX like OS that is a good way to learn about an OS.

The plan9 operating system from Bell labs is a UNIX like OS that is a fun way to learn about operating systems. The installation when using the text based installer is quite counter-intuitive but this is a good learning experience. There are amd64 packages available to install your system, I had problems when installing this … Read more

Mounting an ISO image with the command line and other useful commands.

Mounting an ISO image to a folder and accessing the contents of the image is very simple. Firstly we need to create a directory to mount the image to. |{/mnt/Elements/Files/ISOs}-{Fri Mar 22 23:52:17} -{john@adeptus-mechanicus } $ sudo mkdir /root/img [sudo] password for john:|{/mnt/Elements/Files/ISOs}-{Fri Mar 22 23:52:17} -{john@adeptus-mechanicus } $ sudo mkdir /root/img [sudo] password for … Read more

How to boot an Ubuntu ISO without a thumb drive or a CD. Read more to find out.

I was wanting to try out an older version of Ubuntu on my netbook; but I did not want to write the ISO image to a thumb drive to boot it; therefore I copied the ISO image to a subfolder of my /boot folder; /boot/iso and then I added this section to my /etc/grub.d/40_custom file … Read more

SUSE Studio. Build a customized SUSE distribution with a web interface.

The SUSE distribution has a powerful tool for building a custom Linux distribution. SUSE Studio. This website allows you to create a Linux distribution with custom artwork and using whatever software you choose to deploy in the image. I have used this to build a live DVD ISO with the fglrx drivers slip-streamed into the … Read more

Using the free Clonezilla software to image a Windows machine to distribute across a network.

The free Clonezilla Linux distribution allows the creation and distribution of disk images allowing the Administrator of a room full of computers to create a good fresh installation of the Microsoft Windows operating system and all associated software and then to distribute that image to all other computers in the room. This will greatly simplify … Read more

Miscellaneous computing tips for Gnome Shell and Google Chromium browser users.

For users of Adblock Plus with the Chromium web browser, and Firefox as well, if you enter the URL below as a filter, this will block all Facebook advertisements from showing. Facebook advertisements are usually used by scammers and they are rarely useful compared to the superior Adwords Google ads. facebook.com##.ego_section facebook.com##.coverPhotoImg The code above … Read more

Blind man implanted with CCD and hungry black hole swallowing a star.

A blind man has been fitted with a cybernetic implant, a microchip implanted on his retina, allowing him limited vision. This is the beginning of a future where the blind can see again with cybernetic implants meaning such a disability will not be permanent in the future. The implants at the moment do not have … Read more

Linux Adventures. Some thoughts on the Linux desktop and mysterious power failures.

I am typing this in Ubuntu Lucid Lynx alpha and despite the problems I had with the Nvidia drivers and having to use the driver downloaded from the Nvidia website instead of the supplied driver which failed to install, I am happy with it so far, the grub2 menu is not as slow as the … Read more