I try to place text on image, but have "color" problems. code: $im = imagecreatefromjpeg( 'test.jpg' ); $white = ImageColorAllocate ($im, 255, 255, 255); ImageTTFText ($im, 20, 0, 0, 20, $white, './fonts/times.ttf', 'text text text' ); ImageJpeg( $im, 'test_out.jpg' );
i.e. I want to have 'white' text, but text absolutely not rgb(255,255,255), image truecolor. I must use imagecreatetruecolor? but how...? Ilya -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php