I'm moving all my Delphi Internet project from a Windows NT computer to a Windows 2000 machine. One project produces .JPG pictures. The same executable gives a different picture on both machines. Compare Windows NT: http://pascal.signet.nl/firstsoft/script/aw.exe/nieuws1 Windows 2000: http://projects.firstsoftware.nl/script/aw.exe/nieuws1
Anybody who knows why the Windows 2000 makes such a grainy picture?
It's not grainy. It's dithered. The color depth on your Windows 2000 computer is set too low, so it cannot render the shade of orange you've requested. It approximates the color by alternating two other colors. The text renderer cannot dither the background, which is why you get a solid red background behind the text. And since JPEG is terribly for pixel-perfect display, the alternating pixel colors get merged and blended, but in a way that tries to highlight the different colors instead of hide them.
Setting your display properties might fix it. Otherwise, try setting the PixelFormat property of your TBitmap. I think it defaults to the pixel format of the screen, but you might be able to set it to something higher than the display is currently capable of.
Anyway, JPEG isn't the format you should be using here. GIF or PNG would provide better compression. JPEG is for photographs.
-- Rob
_______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

