--- In "PeterElliot" <> wrote:
>
> Hi All,
>
> The source code has been posted in the files section - MakeImg.c
>
> Here's the information from the source:
>
> Simple BMP conversion program. It takes an uncompressed 24-bit
> standard BMP image and outputs it to a 16-bit TS-7300 frame buffer
> compatible data file.
>
> The program can dither the image (comment out '#define dither' to
> remove) to improve the image quality and remove some banding from the
> conversion.
>
> I compiled the program under Cygwin using the following command:
>
> gcc -Wall -o MakeImg MakeImg.c
> chmod +x MakeImg
>
> The program syntax is:
>
> ./MakeImg <Source Filename> <Output Filename>
>
Thanks Peter!
Works like a charm.
A minor fixup for building natively on a linux box:
add
#include <sys/types.h>
#include <sys/stat.h>
with the other #includes.
I'm surprised that Cygwin didn't complain about that....
--Yan
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/
|