Re: Viewml - JPEG GIF image 8bpp; IMLIB error: Cannot find palette. A Palette is required for th

Jason Kingan <[email protected]> Thu, 16 Jan 2003 09:35:52 -0700
Newsgroups gmane.comp.web.viewml.devel
Message-ID <[email protected]>
Hello,

Imlib should certainly support 8bpp. If I remember correctly, it likes to have 
a palette information file (usually either in /etc or /usr/local/etc) that 
contains RGB triplets for its default colormap.

In fact, looking at the error message you gave in the source, it looks like it 
is trying to locate this file to initialize its palette. If you look in your 
imlib build tree, there is a config directory which should contain some 
im_palette* files. Copy the im_palette.pal file to either /etc or 
/usr/local/etc (or wherever your imlib build prefix was) on the target 
device. See if this helps.

Jason Kingan
Century Software


On Thursday 16 January 2003 05:37 am, you wrote:
> Hi,
> We have developed a custom board with StrongARM processor. support for the
> LCD thru the frame buffer driver is available. Access to the frame buffer
> is through the XWindows  XFbdev.
>   When i run the viewml, i can  browse the web. but the images present in
> the web site dont get displayed. However all other contents of the web site
> get displayed. The LCD we are having is 320x240 passive.  and it is 8bpp.
> And the frame buffer driver sets the FB_VISUAL_PSEUDOCOLOR for display
> mode, as it is 8bpp.
> The error message i get is
> IMLIB error: Cannot find palette. A Palette is required for this mode.
>
> in spite of this message i can see the content of the web site.
>
> The same Xfbdev and viewml binaries works well when i use VGA card instead
> of the LCD. The VGA card supports 16bpp.
>
> Should i infer that to display images we need TRUEOCOLOR support from the
> frame buffer driver and hence a 16bpp support???
> Any suggestion / hint / link to get the images on viewml under 8bpp would
> be appreciated.
>
> -guru

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[email protected]>.
To unsubscribe, E-mail to: <[email protected]>
To switch to the DIGEST mode, E-mail to <[email protected]>
To switch to the INDEX mode, E-mail to <[email protected]>
Send administrative queries to  <[email protected]>