Scripting

Adjust images to a digital frame (480×234 pixels)

This bash script adjusts images to fit in a digital frame with a resolution of 480×234 pixels however by using the size 832×468 pictures are displayed sharper on some frames. Normally, narrower pictures will have black borders at both sides when displayed. but this script makes the border color the average of the picture. The […]

Read More
Photo etc

Create a photo montage using imagemagick

This is a little bash script I put together to create a photo montage with 5 resized pitures in max 3 rows using imagemagick. The script is run from within the folder I have filled with the JPG images I want to create a montage from. #!/bin/bashfor image in `ls *.JPG`  do    convert -resize […]

Read More
Linux

Free 2008 calendar for download

I’ve modified my calendar and saved it as a Adobe Acrobat (PDF) document free for download. You can easily modify this calendar if you have Adobe Illustrator available or any other software that can edit PDF-files.A possible alternative to my calendar is to use The Calendar Printing Assistant for Office Outlook 2007, an application for […]

Read More
Linux

Remove duplicate packages when querying the rpm database

Today I had to solve a RPM problem on a Red Hat Enterprise Linux WS release 4 (Nahant Update 6) system (RHEL4) where there were duplicate packages when querying the rpm database. This had happened after an upgrade to update 6 using up2date from the command line. It seemed like i386 and x64 packages had […]

Read More