Add new comment

Sorry, know nothing about C#

Sorry, know nothing about C# and Windows bitmap.

According to your screenshots, there is 'line sync' error. Is there any possibility that source data for bitmap should have every row aligned (on 4 or 16 or whatever bytes)?

I do not know why your result is monochrome (never seen your code and, again, know nothing about C#). LibRaw output is definitely not, according to your test w/ PPM write.

-- Alex Tutubalin