Hi Pierre,
Check if the dithering is enabled (#define dither), and try again with it disabled. This seems to not work for some people/systems.
What type of system are you using to create the original BMP? I'm using a Windows PC. I don't know why your images may be flipped. You could always flip the image before converting it, but that's juts masking the problem.
Regards,
PJE
--- In
m("yahoogroups.com","ts-7000");">.com, "pierrotlafouine" <pierrotlafouine@
...> wrote:
>
> Hi
> I followed instructions here to change splash screen on TS-7300. This is how it behave on our TS-7300 boards :
> 1) Image is upside down
> 2) Color are changed (blue are now brown etc...)
>
> Question :
> I overwrote file /splash.gz with new gz file. Can I do that ? Or I have to regenerate boot partition with some procedure ?
>
> Any others leads ?
>
> Best regards,
>
> Pierre
>
>
> --- In m("yahoogroups.com","ts-7000");">.com, "PeterElliot" <egroups@> 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>
> >
> > You then gzip the output using:
> >
> > gzip <Output Filename>
> >
> > The resultant file can be loaded onto the TS7300 and loaded into
> > the current frame buffer with the following command:
> >
> > gunzip -c <gzipped file> /dev/fb/0"
> >
> >
> > I hope this is of use to everyone.
> >
> > Regards,
> >
> > PJE
> >
>
Get a great deal on Windows 7 and see how it works the way you want.