Quote:
Originally Posted by cramoisi
Hi traycold,
Ok, so I did a mistake. I tried to use your lines to decode the actual raws in the package provided by Shadoooo ( the one from this post). Perhaps what I must do is : raws from the package to bmp with the lines provided by tshering, save them in png and reencode them with your lines ? I didn’t try to decode the raw you provided obviously it’s working. I’ll try that this morning anyway.
|
the raw in the package you mentioned are gzipped. So first of all you have to gunzip them:
Code:
gunzip anImage.raw.gz
# you get anImage.raw
Then, consider that the dimension of those images is specific for the dimension of the reader (in fact there is the reader model in the filename), so you have to change the X and Y values when converting to PNG (tip: the raw filesize in bit should be X-dim * Y-dim * 2; so the images for glohd are bigger than those of kobo glo, etc..).
If you want to create images for glo hd, just take any png image you want, change the dimention to 1088 x 1440, convert it to raw and gzip it.
No need to use bpm format.