ts-7000
[Top] [All Lists]

[ts-7000] Re: FrameBuffer

To:
Subject: [ts-7000] Re: FrameBuffer
From: "bibhu" <>
Date: Wed, 17 Oct 2007 07:47:26 -0000
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU