[fpc-pascal]PutImage

Andreas K. Foerster Andreas at AKFoerster.de
Fri Nov 16 11:37:24 CET 2001


On Thu, Nov 15, 2001 at 04:52:14PM +0100, Jonas Maebe wrote:

> > I try to write a program, that uses PutImage.
> > It works under Linux and under Dos, but not under Windows.
> > Isn't that yet implemented in 1.0.4?
> 
> For all platforms, putimage currently simply calls putpixel for each pixel
> of the image to draw it, so if putpixel works, so should putimage.

I found the real problem.
Altough I set Windows to HiColor, the InitGraph chose a mode with
MaxColor=256 ??? 
A Putpixel with a higher color-value hangs the system!
And my image was for a 16Bit mode.

-- 
Tschuess
	Andreas




More information about the fpc-pascal mailing list