|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-17 08:48 UTC] iliaa@php.net
[2003-01-17 09:18 UTC] gkopp at ideastar dot com
[2003-01-17 12:39 UTC] iliaa@php.net
[2003-01-17 12:59 UTC] gkopp at ideastar dot com
[2003-01-17 14:09 UTC] iliaa@php.net
[2003-01-17 14:33 UTC] gkopp at ideastar dot com
[2003-01-17 15:01 UTC] iliaa@php.net
[2003-01-17 15:44 UTC] gkopp at ideastar dot com
[2003-01-17 16:32 UTC] gkopp at ideastar dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 12:00:02 2025 UTC |
The following code creates a new JPEG image. It worked fine under PHP 4.2.3, but since the upgrade to PHP 4.3.0, the type now appears jagged and in some cases with smaller type, unreadable: <? Header("Content-type: image/jpeg"); $size = 36; $x = 5; $y = 50; $imgname = "bluebox.jpg"; $im = ImageCreateFromJPEG ($imgname); /* Attempt to open */ $color = ImageColorAllocate ($im, 255, 255, 255); $font = "FRAMDCN.TTF"; ImageTTFText ($im, $size, 0, $x, $y, $color, $font, $label); ImageJpeg($im,'',100); ImageDestroy($im); ?> ImageCreateFromPNG gives me the same results. If replace the ImageCreateFromJPEG() with just an ImageCreate and give it a solid color, it looks fine. It seems to only be affected when I start the image with a template image.