ts-7000
[Top] [All Lists]

[ts-7000] Re: pictures on screen?

To:
Subject: [ts-7000] Re: pictures on screen?
From: "PeterElliot" <>
Date: Tue, 25 Sep 2007 00:16:10 -0000
Hi Bibhu,

I created an image using GIMP or PaintShopPro, although any 
application which can create a BMP file will work. I saved the image 
as an uncompressed BMP file. Any image editor would be able to 
convert a JPEG into a BMP file, but the image will not be able to be 
compressed as much via bzip if there is a lot of dithering in the 
image.

I then compiled the code in the files section and then called it with 
the bmp file as the first parameter pointing to the image file.

The MakeImgs program creates a 16-bit image compatible with the 
framebuffer (assuming image has the same dimensions as the screen 
being used). This file can be loaded directly into a framebuffer, but 
the image can normally be compressed using bzip and then unzipped 
directly to the framebuffer. I used the same commands as those in the 
startup fastboot script (I can't remember them off the top of my had).

I'll see if I can put together a small example program when I get 
back to my TS-7300.

Regards,

PJE

I also have a function ot perform the oposite function. Take whatever 
is on the TS-7300 screen and write out a BMP file... very useful for 
writing manuals ;)


--- In  "bibhu" <> wrote:
>
> Hi Peter,
> 
> Can you point me to some reference 
> 1)How to write the 16-bit TS-7300 frame buffer compatible data file 
> onto the framebuffer device?
> 2)Will step 1 render the image out of the VGA port ?
> 
> Also I was wondering if it is feasible to convert a JPEG into a 16-
> bit TS-7300 frame buffer compatible data file.
> I am afraid there would be losses since JPEG is compressed.
> 
> Thanks,
> 
> Bibhu
> 
> 
> 
> --- In  "PeterElliot" <egroups@> wrote:
> >
> > --- In  Dennis Rockwell <dennis_yahoo@> 
> > wrote:
> > >
> > > I'm trying to put pictures up on the screen (no decoration,
> > > no graphical controls, just a picture), and in the archives
> > > there's a mention of a converter into the framebuffer's
> > > native format, so we can just write() the image onto the
> > > framebuffer device.  BUT, I can't find this code in the
> > > files section of this group.  Can somebody please point me
> > > to this code?
> > > 
> > > Thanks!
> > > 
> > > Dennis
> > >
> > 
> > It's called MakeImgs.c in the Files section:
> > 
> > http://f1.grp.yahoofs.com/v1/
gGS2RqBWscLDhCbq5mu5IOnOrOElhy8VbLfPVi-
> > gKsvUHw9zFapPg74f6qCG9I3C5Nrdq5JTibQuB34EgNWmPg/MakeImgs.c
> > 
> > It takes a Windows BMP file and creates an array of 16-bit values 
> > which can be copied into the framebuffer. If gzip the resultant 
> file 
> > and then unzip directly to the framebuffe to save space.
> > 
> > PJE
> >
>




 
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