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/
|