I have tried all things but cannot reverse the color to turn off the AA on the text that is created... can someone take a look please and let me know what i need to do? Thanks in advance - as it is the last bit i need to sort. BTW: The font is a bar-code font and the AA on the image stops the reader picking up the image.
$img = imagecreate ($image_width, $image_height);
$black = imagecolorallocate ($img, 0, 0, 0);
$white = imagecolorallocate ($img, 255, 255, 255);
imagefilledrectangle($img, 0, 0, $image_width, $image_height, $white);
imagettftext ($img, 20, 0, 3, 30, $black, "../includes/fonts/39251.TTF", "" . $item["consignment_no"] . "");
imagepng ($img, $item["consignment_no"] . ".png", 100);