[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Veronica...

So, I will get different results on different Platforms with SWT, but not
AWT?

"McQ" <mike_wilson@xxxxxxx> wrote in message
news:9krqcd$hsd$1@xxxxxxxxxxxxxxxx
> It will look however images rendered by the platform look. AWT uses it's
own
> internal dithering code.
>
> McQ.
>
> "Randy Hudson" <someone@xxxxxxxxxx> wrote in message
> news:9krj0h$f4m$1@xxxxxxxxxxxxxxxx
> > <Veronika_Irvine@xxxxxxx> wrote in message
> > news:9j6qkf$7eq$1@xxxxxxxxxxxxxxxx
> > > It is true that the ImageData will be created and the code will run
> > > without exception.  The ImageData is treated as if the depth is
> supported.
> > >  What happens is that when you create an Image from this ImageData,
the
> > > data will be converted to match the depth of the display.  You will
not
> > > get an error but your image may look ugly if the colours aren't
> available.
> >
> > I would expect this to look no uglier than it would in AWT, correct?  If
I
> > load a true color image in AWT, and paint it in 8-bit mode, I can hardly
> > tell that the image is dithered and not true-color.
> >
> >
>
>