2 Replies Latest reply on Dec 3, 2011 6:33 AM by LostNMaylene

    Code to Open NX200 RAW Files Received

    LostNMaylene

      Here is the 'cdraw' code to open Samsung NX200 files. I received it from Dave Coffin, this morning.

       

      --- dcraw.c    2011/10/07 01:00:37    1.445

      +++ dcraw.c    2011/11/16 17:32:28

      @@ -6738,6 +6745,8 @@

           { 8898,-2498,-994,-3144,11328,2066,-760,1381,4576 } },

           { "SAMSUNG NX1", 0, 0,

           { 10332,-3234,-1168,-6111,14639,1520,-1352,2647,8331 } },

      +    { "SAMSUNG NX200", 0, 0xfff,    /* DJC */

      +    { 6330,-2608,-23,-3808,9860,3949,-661,1712,5843 } },

           { "SAMSUNG WB2000", 0, 0xfff,

           { 12093,-3557,-1155,-1000,9534,1733,-22,1787,4576 } },

           { "SAMSUNG GX-1", 0, 0,

      @@ -7831,6 +7849,12 @@

           height -= top_margin = 8;

           width -= 2 * (left_margin = 8);

           load_flags = 32;

      +  } else if (!strcmp(model,"NX200")) {

      +    order = 0x4949;

      +    height = 3662;

      +    width  = 5528;

      +    top_margin = 2;

      +    left_margin = 46;

         } else if (!strcmp(model,"EX1")) {

           order = 0x4949;

           height -= 20;

       

      Since I'm not a programmer, I really don't know what to do with it and just thought I'd share with those who do know how to code.