Hi Peter,
My screen resolution changes to 640 X 480 when I connect it to TS7300.
I will change maxwidth and maxheight in MakeImgs.c to 640, 480
respectively. I will modify your code so that it pads it with blank
space(ASCII 32) if image size is less than 640, 480.
Lets see how it goes.
Thanks & Regards,
Bibhu
--- In "PeterElliot" <> wrote:
>
> 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" <bibhu_420@> 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/
|