First, be sure to build the source in order to get the rgb2565
executable.

Then, starting with a png (without transparency), do the following:

1. Convert the png to raw format, using imagemagick:
   convert -depth 8 myimage.png rgb:myimage.raw
2. Run rgb2565 against the png using the following:
   rgb2565 -rle < myimage.raw > myimage.rle



On Oct 11, 5:14 am, abdul <[email protected]> wrote:
> Hi,
>
> Iam trying to use to565.c program to convert image file to .rle. When
> i saw the code of to565.c,it tries to read data from stdin.How can i
> provide image file as an input.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to