updated to 565, resolved conflicts and created patch
Hi pethead!
A friend of mine is trying to rotate a raw image 180 degrees (for the A620).
Like you, he has made a little programme to generate a raw file and can specify brightness (0 to 1023) of a group of eight pixels (10 bytes) for the odd lines and another group of eight for the even lines.
I assume the first line is R G G B R G G B .........
and second is G B R G G B R G
I tried to generate a pure red image with this sequence of pixels for the odd rows :-
1023 0 0 0 1023 0 0 0
and this for the even rows :-
0 0 1023 0 0 0 1023 0
The result is bright yellow.
Also, maybe the minimum value should be 32 ?
If the first pixel of the odd rows is red 1023, I assume byte 0 = 192 and byte 1 = 255.
I also assume my friends code is correct.
Could you advise how to rotate the image ?
Thanks.
David