List Info

Thread: Re: pictures on screen?




Re: pictures on screen?
country flaguser name
United States
2007-09-24 17:22:01

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 ts-7000%40yahoogroups.com">ts-7000yahoogroups.com, "PeterElliot&quot; <egroups...> wrote:
&gt;
> --- In ts-7000%40yahoogroups.com">ts-7000yahoogroups.com, Dennis Rockwell <dennis_yahoo>
> wrote:
&gt; >
>; > 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?
&gt; >
> > Thanks!
> >
> > Dennis
&gt; >
>;
> 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.
&gt;
> PJE
>

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Yoga Groups

Exchange insights

with members of

the yoga community.

Re: pictures on screen?
country flaguser name
United States
2007-09-24 19:16:10

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 ts-7000%40yahoogroups.com">ts-7000yahoogroups.com, "bibhu" <bibhu_420...> wrote:
&gt;
> Hi Peter,
&gt;
> 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.
&gt; I am afraid there would be losses since JPEG is compressed.
>
> Thanks,
>
> Bibhu
&gt;
>
>
> --- In ts-7000%40yahoogroups.com">ts-7000yahoogroups.com, "PeterElliot&quot; <egroups> wrote:
&gt; >
>; > --- In ts-7000%40yahoogroups.com">ts-7000yahoogroups.com, Dennis Rockwell <dennis_yahoo>
> > wrote:
&gt; > >
>; > > 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?
&gt; > >
> > > Thanks!
> > >
> > > Dennis
&gt; > >
>; >
> > 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.
&gt; >
> > PJE
> >
>;

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )