Bibhu,
The image needs to be the same size as the screen - 800x600 or
640x480 depending on the configured resolution.
If you need to load a smaller image you will need to either:
A. Write code to read the file and write it into the screen buffer, or
B. Pad the image with blank space to make it the screen size.
I'd recommend doing the latter.
Regards,
PJE
--- In "bibhu" <> wrote:
>
> Hi Peter,
>
> The size of my image is 575 X 401. If I gzip it, its printing
garbage
> for me (not on my monitor) but on my SSH window. Let me re-install
> gzip. If I cat it,
> I tried a 127 X 64 image. It got displayed multiple times and the
> image was clipped.
>
> Is there a restriction on size of image ? I thought we could use
> anything upto 800 X 600.
>
> Bibhu
>
> --- In "PeterElliot" <egroups@> wrote:
> >
> > Hi Bibhu,
> >
> > Was the bmp image the same size as the screen you were using -
> > 800x600 or 640x480?
> >
> > I use 'gunzip -c Img.gz > /dev/fb/0' to copy a bzip compressed
> bitmap
> > onto the screen.
> >
> > Regards,
> >
> > PJE
> >
> >
> > --- In "bibhu" <bibhu_420@> wrote:
> > >
> > > Hi Peter,
> > >
> > > I converted a bmp to the specific format using MakeImg and did
a
> > > cat image > /dev/fb/0
> > > I got some kind of an image on my monitor but its hardly
> > > distinguishable. Lots of lines and weird colors.
> > >
> > > Any idea what I should try/check?
> > >
> > > Thanks,
> > >
> > > Bibhu
> > >
> >
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|