I see, learn and rediscover… everyday!
 
Month: <span>October 2008</span>

Swirl images with ImageMagick

This simple snippet can be used for creating animated gif images with swirl effects. I was bored at home and saw that ImageMagick was installed in my machine. 🙂 So started playing with that. 🙂 The shell script will create the second image from the first image shown below. —–> #!/bin/bash FILENAME=”hari.png” FRAMES=30 ROTATEANGLE=30 OPTION=”swirl” declare -i I COMMANDOPTION=””; I=0; …

Fetching the internet…

This is a simple tutorial to fetch web pages using php code. This starts with a example to fetch pages, and then sending get and post request :). First, a few stuff from the php manual. This is just a summary. You can read the whole stuff at http://in.php.net/manual/en/book.curl.php “””PHP supports libcurl, a library created by Daniel Stenberg, that allows …