imagemagick convert

November 26th, 2007

hit esc to stop the animated gifs…
utilware.com.favicon.32x32.gif that’s just a little bit annoying isn’t it? sometimes a bash script i wrote would wget a favicon.ico file from a site, convert the ico to a gif, and instead of getting a 16×16 image i’d get what you see here… a 32×32 blinking gif.

utilware.com.favicon.gif the fix is rather simple. i just had to add -size 16×16 and -resize 16×16 to my convert command and tada! the image is now properly sized and not causing my eyes to bug out.

i had to sit here and grin at myself when i first went to fix my script. i pull up convert’s manpage and the first thing i saw was this. i’m really hoping that the manpage was updated way, way, way after i originally wrote my script. or else, this is a bad case of rtfm.

worldcat.org.favicon.48x48.gif i know how much you loved the animated gif, i just found another one in the bonqlinks image pool… enjoy.

man i can’t wait till this post is hidden deep in the database somewhere.

 

mythtvideo thumbnails script

November 7th, 2007

i found a script to generate thumbnails on the mythtv wiki today. there’s actually a bunch of mythtv scripts on the wiki. i got tired of staring at yellow folders when i was browsing in mythtvideo. the script is running right now, i guess we’ll see how it looks when it’s done.

 

bash shell scripting

August 20th, 2007

just because i didn’t really have any recent sysadmin type stuff on bonq, i really felt the need to type this up.

among those three links you should be able to find everything and anything you need to know about bash shell scripting. well, you could always do a `man bash` if you get lost and don’t have access to the internet.

 
other posts [ ]