Products > Test Equipment

Rigol DSXXXX .GEL firmware file format

<< < (7/38) > >>

Userli:
@smithnerd is there any documentation on this archive format? What tool did you use to decompress it?

Edit:
Sometimes it's just too obvious. Got it.

janekivi:

--- Quote from: Userli on July 15, 2016, 10:02:59 pm ---I was able to replace the start screen image (logo.hex) by the one attached.
......

--- End quote ---
I'm not a good artist but something like this is needed there  :-BROKE
or old BW type : )

(I was growing up with this kind of round corners TV http://mentallandscape.com/L_0249.jpg)

smithnerd:
guiPicData.hex is a very simple format, which is easy to traverse.

A 4 byte header represents x and y dimensions for each image, followed by the RGB565 data.

uint16 x;
uint16 y;
char data[x*y*2];

So it's easy to calculate the offset of the next image. I make it 494 bitmaps in total. Once I figure out how to put headers on the data, I will post a thumbnail image.

Edit:

This seems clunky, but it works OK:


--- Code: ---$ avconv -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 9x9 -i image.data -f image2 -vcodec png output.png
--- End code ---

avconv is from libav.

janekivi:
I was trying this with logo before in windows
http://www.madox.net/blog/2011/06/06/converting-tofrom-rgb565-in-ubuntu-using-ffmpeg/
But I think Your output is something else... My 11x11 crap can't be the same
9x9 can't be the right number and what is the dimensions then for 40 00 11 00
Somehow I can make left arrow from first data if I use 32x32

smithnerd:

--- Quote ---what is the dimensions then for 40 00 11 00
--- End quote ---

64 x 17

My 9x9 was for a file picked at random.

It seems avconv chokes on files smaller than 8 pixels wide. RGB565 is a pain in the arse...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod