Real Software Forums

RGBsurface fails in Linux
Page 1 of 1

Author:  bernard [ Wed Dec 26, 2012 5:21 pm ]
Post subject:  RGBsurface fails in Linux

Using RB2012 in Win XP, building for Linux and testing in Ubuntu 12.10 -
No problem with colors invoked by g.DrawRect or by g.Pixel() but when using g.DrawPicture in Canvas.Paint when the picture had been built via an RGBsurface results in colors so pale that they can hardly be seen.

Is there a known incompatibility? I see no reason for this in the language ref.
THIS becomes THIS

But if I save the picture and then view it, it is normal.

Author:  kermit [ Thu Dec 27, 2012 3:14 am ]
Post subject:  Re: RGBsurface fails in Linux

Do you have an alpha channel issue, I wonder?

Author:  bernard [ Thu Dec 27, 2012 5:04 am ]
Post subject:  Re: RGBsurface fails in Linux

[quote="kermit"]Do you have an alpha channel issue, I wonder?[/quote]
This occurred to me last night but I don't see why it should be related only to RGBsurf on Linux - not on Windows or Mac, or Linux with other colour generation on the Canvas. I am using only '&c000000' i.e. 6 digit, which As I understand it should not invoke the alpha channel.

However, I will experiment around this possibility. Further advice still welcome.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group