gimp: enhance image and watermarks

by prettyscripts on 2009-05-23 02:48:16 • Leave a comment »

freegimp

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

php: is gd library installed?

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

php: get image size

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

php: image manipulation

by prettyscripts on 2008-12-04 10:57:59 • Leave a comment »

phpunixcode

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

css: repeating background and IE

by prettyscripts on 2008-10-16 10:21:34 • Leave a comment »

csscode

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