John Wilson wrote:
I am thoroughly impressed by your grasp of graphics file formats. You have solved my problem overnight and, yes, the GIF that you referenced is indeed what it should be; a map of the solutions to the equation z^3-1 = 0, using Newton's method. (A Practical Fractal?)
Glad to here it was the same image my graphics application opened up.
Your "fix" is to a byte which the author describes as Byte 03, ( he has a Byte 00); "No. of bits for 1 pixel from 1 plane".
I should have specified I was counting physically relative 1 as opposed to the normal programming reference to relative 0.
I can't remember why I have this underlined in the book, and with a "?" attached. However you have hit the nail on the head. I'll try modifying the TP Unit to do just that.
Once upon a time, the 'NumBitPlanes', used in conjunction with the 'BitsPerPixel' (within a PCX file format), determined the proper video mode in which to display the image. The PCX video display modes are shown as follows: Color Bits per Pixel Maximum Number Planes per Plane of Colors Video Mode ---------------------------------------------------------------------- 1 1 2 Monochrome 1 2 4 CGA 3 1 8 EGA 4 1 16 EGA and VGA 1 8 256 Extended VGA 3 8 16,777,216 Extended VGA and XGA
My sincere thanks,
You are more than welcome!! :-) Sincerely, P.N.L. ------------------------------------------------- http://home.att.net/~Paul.N.Lee/PNL_Fractals.html http://www.Nahee.com/Fractals/