Hello!
I'm using PHP Version 4.3.3RC5-dev with GD Version bundled (2.0.15
compatible) to generated some graphics based on mysql data and to my
surprise when I use the GD function imageline($im, $x1, $y1, $x2, $y2,
$cl); (with $cl being the collorallocated via function) the line is
draw dirtying the image ($im), making some extra pixels around the
background. I've removed my jpeg background and the problem still the
same. It's something like when we zoom in too much and got some block
pixels with "random" colors. I don't know what to do. If someone want
to help me I can send two little .jpg (each 20kb) showing the problem.
I'm wondering to use only 16 colors pics (I don't know how to create
it with only 16 colors (4bits?)) to see if I can "fool" the imageline
to avoid extra dirty pixels... help me please!
Thank you for your attention,
Baruch Spinoza.
I'm using PHP Version 4.3.3RC5-dev with GD Version bundled (2.0.15
compatible) to generated some graphics based on mysql data and to my
surprise when I use the GD function imageline($im, $x1, $y1, $x2, $y2,
$cl); (with $cl being the collorallocated via function) the line is
draw dirtying the image ($im), making some extra pixels around the
background. I've removed my jpeg background and the problem still the
same. It's something like when we zoom in too much and got some block
pixels with "random" colors. I don't know what to do. If someone want
to help me I can send two little .jpg (each 20kb) showing the problem.
I'm wondering to use only 16 colors pics (I don't know how to create
it with only 16 colors (4bits?)) to see if I can "fool" the imageline
to avoid extra dirty pixels... help me please!
Thank you for your attention,
Baruch Spinoza.
Comment