Le Fri, 28 Nov 2008 10:18:17 +0100, Ille <[EMAIL PROTECTED]> a écrit :
> Le Thu, 27 Nov 2008 11:10:54 +0100, > Ille <[EMAIL PROTECTED]> a écrit : > > > Hi, > > > > I join some patches to be applied to rawstudio-svn-2079. > > > > The x3f patch permit auto rotation of x3f files according to the x3f > > header's rotation field. It also add a check in dcraw.cc to be sure > > x3f pixels values do not exceed 4095. Surely this check must be done > > somewhere else (to not modify dcraw.cc), but it seemed to me the > > easiest way for now, as my computing skills are not so good. > > It also add two new fields to the metadata struct: exposure and > > sharpness, as those are defined in the x3f header. > > Plus I tried to get the extended data correctly loaded, so that work > > done with Sigma Photo Pro could be reused in rawstudio. the result > > is truly not exact, but I will try to enhance this. > > Sorry, the x3f.patch is wrong. I didn't notice before, but x3f files > were opened with the half_size parameter set to FALSE. As far as I > have understand, this sould only be the case for bayer captor. So in > rs_image16_open_xf3() just always send TRUE as half_size parameter > when opening a x3f file. Also, the photo should be opened with dcraw > only after verifying that this is in fact a x3f. And I forgot to > close the rawfile after opening (too bad). > > So I join a corrected patch. Sorry, please forget this x3f patch, I found a better way to achieve the auto-rotation feature. I'll submit a new patch later. Ille _______________________________________________ Rawstudio-dev mailing list [email protected] http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev
