Hi, I'm using the latest svn tree for a long time now. I had some
trouble with loading x3f raw files: highlights (well, overexposed
pixels) have a strange behaviour; some pixels get white (normal
behaviour), but some become black. An ugly (but quick) way to
bypass this behaviour is to shift the 12 bits values to 14 bits instead
of 16 bits in the convert() function of dcrawloader.c. The resulting
data will be a little bit darker, but the benefit of this is also that
it reduce the annoying color banding (noise?) often seen in dark area
with x3f produced with SD14 or SD15. Other gain, you don't need to
recalculate the rgbMax, just use the one from dcraw and you save some
cpu time.

Oh, and if you like I can produce a patch ton make rawstudio SVN
compile against libpng-1.5 (members of png_info are not accessible
anymore).

Regards,
Ille

_______________________________________________
Rawstudio-dev mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev

Reply via email to