by prettyscripts on 2009-05-23 02:48:16 • Leave a comment »
free • gimp
my wow blog is basically a screenshot blog. images are screenshot from world of warcraft – if you don’t know what it is, it’s an online game. all images are edited with gimp , a free image manipulation tool. if you are a photoshop user, you’ll think it…
more »Tags: gimp, image, watermark, wow
by prettyscripts on 2008-12-11 14:11:21 • Leave a comment »
php
to check if the server has gd library,
if (extension_loaded("gd"))
echo "yes!";
another way is to check any gd related function, eg
if (function_exists("gd_info"))
echo "yes!";
more »Tags: gd, image, php
by prettyscripts on 2008-12-04 14:11:21 • Leave a comment »
php
to access basic image information like width and height, call getimagesize(), which returns data in array format as followsArray( [0] => 640 // width [1] => 426 // height [2] => 2 // not sure what this is. anyone? [3…
more »Tags: image, php, size
by prettyscripts on 2008-12-04 10:57:59 • Leave a comment »
php • unix • code
the gd image library provide functions to manipulate image files. on some installations, this does not come as default and needs to be installed. on fedora, the command is$ yum install php-gd on ubuntu, the command is$ sudo apt-get install php5…
more »Tags: fedora, gd, image, php, ubuntu
by prettyscripts on 2008-10-16 10:21:34 • Leave a comment »
css • code
repeating background not showing as intended on IE. one of those things that works in firefox (which follows standard) but not IE (which tries to set its own standard). i came across this article which says background color must be specified to make it…
more »Tags: background, css, image