Did you do this with dng4ps2 ? If so, can you describe how ?
- DNG saving. Color is not great. I wasn't sure how to translate ewavrs color matrix to the DNG code, maybe I guessed wrong. ufraw and irfanview load without problems, very purple cast.
P.S. In your diff BLACK_LEVEL is still 31. Maybe, it must be 127 or 128?edit: I can confirm, that purple colors are disappears after set BLACK_LEVEL to 127.
_sub_FF8EA47C__BmpDDev_c__134 ... MOV R0, #0x2D0 ; 720 MOV R1, #0xF0 ; 240 STR R0, [R4] ; *arg0 = width STR R1, [R5] ; *arg1 = height STR R0, [R6] ; *arg2 = width LDR R0, =0x40471000 ; bmp base STR R0, [R7] ; *arg3 = base MOV R0, #1 STR R0, [R8,#0xC] ; *(0x7D98 + C) = 1 MOV R0, #0 LDMFD SP!, {R4-R8,PC}