batch resize photo on Linux

linux, tools | Thursday June 3 2010 8:00 pm | Comments (0)

if you are like me and you have a photo gallery to share your photo to your friends and family and other people, you may have come across the problem of resizing your photos. With a camera taking 4MB photos, I don’t want people to wait 1mn between each photo they look at so I resize them. You could say that I could use picassa or anything else like that but those services and other look-a-like don’t completely suit me.

Anyway, if you want to do that in a couple of secondes  on your favourite Linux distro, you need ImageMagick. It’s a very good command line tool that will allow you to script (or just manipulate)  your photo. Very useful  when you come back from a Safari with 2000 photos :)

you can usually find ImageMagick packaged for every distro but I’ll show you here how to get it for Debian (or any other distro using apt-get …)

sudo apt-get install imagemagick
cd ~/photos/myphotos/
mkdir resized
cp *.jpg resized
cd resized

ImageMagick doesn’t create a new photo smaller but actually resize it so that’s why you should keep a copy of your photos if you want to keep them in the original size.
The command to use is mogrify. It’s always good to have a look at the man page but you basically just need to do as follow to resize a photo -

To resize all the photo with a max height or weight:

mogrify -resize 1920 *.jpg

Or to give a fix size:

mogrify -resize 1024×786! *.jpg

You can do much more with ImageMagick so have a look by yourself!!!

Sync your calendars with outlook

tools | Wednesday April 14 2010 9:48 am | Comments (1)

If you’re like me, you forget everything if you don’t have a reminder and you are really glad that your phone has got a calendar feature. Problem, you’d like to get your calendar sync between all your devices! That’s no more a problem as it’s quite easy now to sync stuff between say a Google account and your outlook at work, your phone, or your Thunderbird at home. But like me, you may want to sync more than 1 calendar though! And its here that you get a problem. Perfectly fine with Thunderbird/Other email client but on outlook, since its not possible to write on an internet calendar -_-’ and you can only sync your main calendar with google sync… You either have to choose to update your ‘others calendars’ from somewhere else, or create the appointment on your main outlook calendar to get it sync. On the wrong one, but at least its synced.

You recently started to find tools to update more than one calendar but none of them where free. but luckily I finally found one! It’s called calgoo hub, very well hidden, but you can download it from here: www.calgoo.com.

With this tool you’ll be able to sync many calendars on one or more outlook calendars! it’s a pretty good software, much better than Google sync!It’s pretty easy to use so I won’t describe how to do it but you basically just have to click on open a remote calendar, put the address on it (the .ics address you get from the options on Google for example.), pick a calendar on the list of outlook calendar and there you are, they are syncing!

So now I can finally update my personal calendar from my outlook client, and that’s pretty good because it was a real pain before that!!

8 Advanced OpenOffice.org Add-ons

tools | Monday April 12 2010 1:40 pm | Comments (0)

I found an interesting article on LinuxPlanet about OpenOffice.org. There is 2 pages in case you do not notice.

Some of those Add-ons seems very good, like the one fore the presentation and the one to integrate Google docs onto OOO.

Here is the link:

Linuxplanet

PuTTy Connection Manager

linux, tools | Wednesday June 10 2009 12:03 pm | Comments (1)

I recently found a tool that help me a lot on my duties at work! It’s called PuTTy Connection Manager. No it’s not just the putty that everyone knows. It’s an application that actually come on top of putty to enhance it. As you can see below, the main feature is tabs. But don’t tell me, if you are an unfortunate user of putty like me (not that putty is not good but I’d prefer to use a Linux OS at work. Therefore, I wouldn’t have to use putty…), that you never thought that putty would be much better with tabs!!!

PuTTy Connection manager

PuTTy Connection manager

PuTTy Connection Manager require the .NET framwork V2 and Encryption library 0.6.0.0 if you want to encrypt your database.

Unfortunately, the project (French :D) seems to be dead and it’s not open sources… But it got to a point where I don’t really need much more features and there is no important bug. If you know any PuTTy-like tools better than this one, and preferably still alive, let me know, it might be interesting :D

You can download the latest version here
And the website is here