imageline and extra contiguous pixels
From: baruch (spin9_at_terra.com.br)
Date: 06/29/04
- Next message: Raj: "Re: crypt function"
- Previous message: Brad Kent: "Re: Where decimal part goes?"
- Next in thread: Garp: "Re: imageline and extra contiguous pixels"
- Reply: Garp: "Re: imageline and extra contiguous pixels"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jun 2004 14:51:28 -0700
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 contiguous pixels of the image ($im), making some
extra pixels around the background. I've removed my jpeg background
and the problem remains. 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
- Next message: Raj: "Re: crypt function"
- Previous message: Brad Kent: "Re: Where decimal part goes?"
- Next in thread: Garp: "Re: imageline and extra contiguous pixels"
- Reply: Garp: "Re: imageline and extra contiguous pixels"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|