Re: ANY SUGGESTIONS - IE 6.0 has problems with 1 Bpp color under C



The display is only 1 bpp (i.e. no grey scale at all) with a very simple
controller. The palette can't be changed. The spftware driver's palette is
0=Black & 1=White which is the same as the haedware controller. Even if the
software palette is incorrect, I should be able to force it to something
else. However, I can't.

Only the client area of the browser behaves this way. It's as if the
background color were initalized to zero/black prior to entering a case
statement based upon bpp, but there's no 1 bpp case. So it falls through
maintaining it's black initialized setting.

Thanks for your help.

"Paul G. Tobey [eMVP]" wrote:

> 1. The JPEG thing has been around for a *long* time and isn't likely to be
> fixed. The only work-around is to not have the display driver look like a
> monochrome display. If you are using a mono LCD panel, most of them can
> handle 16 gray scales. You'd alter the display driver to configure that in
> the display controller. You could try to get MS to fix this JPEG rendering
> error by calling the support number which you can find in the PB Help menu.
>
> 2. No idea on this at all. I use a mono panel (well, it's set for 256 gray
> shades). It doesn't suffer from this sort of problem. Maybe your palette
> is wrong? Maybe the hardware palette programmed into the controller is
> mapping white to black (you could try drawing a white rectangle in a test
> program to check that out)?
>
> Paul T.
>
> "WAB2" <WAB2@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:F1D7A78E-B12A-489A-8766-0756EB2ED04E@xxxxxxxxxxxxxxxx
> > I'm developing a browser shell using IE 6.0 under CE 5.0. My HW platform
> > has
> > a monochrome (i.e. 1 bit per pixel color). I fixed some defects in the
> > display drive, but it's working fine now. Unfortunately I don't appear to
> > have access to the IE source code.
> >
> > Basically I'm having two problems with IE's webpage rendering engine.
> > 1. It crashes due to a memory alignment fault when it tries to display a
> > jpeg. All other image formats seem OK. This is a similar symthom to the
> > driver problems I fixed.
> > 2. The background is always black. Text and images (other than jpegs) are
> > OK. Even if you try to force it to white with registry settings or in the
> > HTML page itself, the background is always black. Also objects in the
> > background like lines are rendered properly for a black background (i.e.
> > as
> > white).
> >
> > Is any one else aware of these problems?
> > Is there a work around?
> > Is the source code available somewhere?
> > Any advice at all?
> >
> > Thanks
>
>
>
.



Relevant Pages

  • Re: ANY SUGGESTIONS - IE 6.0 has problems with 1 Bpp color under C
    ... You'd have to campaign for a QFE, then, and build that into your OS. ... The palette can't be changed. ... >>> monochrome display. ... >>> the display controller. ...
    (microsoft.public.windowsce.app.development)
  • Re: HTML safe colors
    ... will be mapped to the nearest supported color. ... combinations of browser/display adapter tried to display the colour by ... 256 colour palette and if there are more than one of them on a page then the ... The first gif would display correctly as each of its colours (well most of ...
    (comp.infosystems.www.authoring.html)
  • Re: Transform a bitmap depth
    ... >> palette unless you have a need to display it on a 256-color system. ... if an user copies a bitmap ... you will have to transfer to the bmiColorsarray for your 8-bit DIB ...
    (microsoft.public.win32.programmer.gdi)
  • Re: ANY SUGGESTIONS - IE 6.0 has problems with 1 Bpp color under C
    ... It doesn't show what the browser control does to draw the ... The palette can't be changed. ... The only work-around is to not have the display driver look like ... >> the display controller. ...
    (microsoft.public.windowsce.app.development)
  • Re: How to realize a palette
    ... clipboard puts a palette there. ... While testing I put my display into 256 color mode and XP works find. ... the picturebox HDC I should be able to display all those colors in the ... >> Trying to display the palette that is on the clipboard. ...
    (microsoft.public.dotnet.languages.csharp)

Quantcast