8 Replies Latest reply on Mar 5, 2009 6:03 PM by MadManChan2000

    dng_validate.exe write dng to dng and new file is 11 MB less in size

    fware_de
      Hi,

      I have the Sinar Hy6 with the eSprit 65 digital back.
      This back writes DNG files. Based on dng_validate -v they are version 1.0.0.0.

      I have done a dng_validate -dng.... and the resulting DNG file is 11 MB less in size and is DNG version 1.2.0.0 now.

      Can some one explain why I have now 11 MB less ?

      It seems that NO information is lost and I also can not see any difference in the pictures. Only that Infranview can now dispaly the DNG's where it fails on the original DNG's.

      Thanks for help.
        • 1. Re: dng_validate.exe write dng to dng and new file is 11 MB less in size
          Panoholic Level 2
          If you download this progam: www.cryptobola.com/PhotoBola/free/RawnalyzeTL.exe, start it and enter the name of the file, it creates a small new file, named "original file".taglist.txt (and the program stops immediately).

          Do this with both DNGs and upload the results. The .txt files contain the entire TIFF structure (i.e. what is in the file and how large).

          Alternatively, if you upload your files, I can do this analysis.
          • 2. Re: dng_validate.exe write dng to dng and new file is 11 MB less in size
            fware_de Level 1
            Thanks, I try it and check if I see a diff of any important things.

            I thought may be the 1.2 version using a kind of compressions where the 1.0 does not.
            • 3. Re: dng_validate.exe write dng to dng and new file is 11 MB less in size
              fware_de Level 1
              Processing file C:\Dokumente und Einstellungen\fware\Eigene Dateien\Eigene Bilder\SINAR_DNG\S1000001.DNG
              Byte order: Least Significant Byte First

                  Subfile First IFD at offset 31464960, level 0, nr of entries: 42, byte order: LSBF
                          ID Tag name                       type          count      value
                       _____ ______________________________ _________ _________ __________________
                         254 NewSubfileType                 LONG              1           1
                         256 ImageWidth                     LONG              1         320
                         257 ImageLength                    LONG              1         240
                         258 BitsPerSample                  SHORT             3    31465962 offset
                         259 Compression                    SHORT             1           1
                         262 PhotometricInterpretation      SHORT             1           2
                         271 Make                           ASCII             9    31466310 offset
                         272 Model                          ASCII            13    31466322 offset
                         273 StripOffsets                   LONG              1    31234560
                         274 Orientation                    SHORT             1           6
                         277 SamplesPerPixel                SHORT             1           3
                         278 RowsPerStrip                   LONG              1         240
                         279 StripByteCounts                LONG              1      230400
                         282 XResolution                    RATIONAL          1    31465970 offset
                         283 YResolution                    RATIONAL          1    31465978 offset
                         284 PlanarConfiguration            SHORT             1           1
                         296 ResolutionUnit                 SHORT             1           2
                         305 Software                       ASCII             6    31466338 offset
                         330 SubIFDs                        LONG              1    31465470
                         700 XMP                            BYTE            134    31466346 offset
                       34665 ExifIFD                        LONG              1    31465764
                       34859 SelfTimerMode                  SHORT             1           0
                       36867 DateTimeOriginal               ASCII            20    31465986 offset
                       37390 FocalPlaneXResolution          RATIONAL          1    31466006 offset
                       37391 FocalPlaneYResolution          RATIONAL          1    31466014 offset
                       37392 FocalPlaneResolutionUnit       SHORT             1           2
                       37398 TIFF_EPStandardID              BYTE              4 0x00, 0x00, 0x00, 0x01
                       50706 DNGVersion                     BYTE              4 0x01, 0x00, 0x00, 0x00
                       50708 UniqueCameraModel              ASCII            13    31466482 offset
                       50721 ColorMatrix1                   SRATIONAL         9    31466022 offset
                       50722 ColorMatrix2                   SRATIONAL         9    31466094 offset
                       50723 CameraCalibration1             SRATIONAL         9    31466166 offset
                       50724 CameraCalibration2             SRATIONAL         9    31466238 offset
                       50728 AsShotNeutral                  RATIONAL          3    31466498 offset
                       50730 BaselineExposure               SRATIONAL         1    31466522 offset
                       50731 BaselineNoise                  RATIONAL          1    31466530 offset
                       50732 BaselineSharpness              RATIONAL          1    31466538 offset
                       50735 CameraSerialNumber             ASCII             8    31466546 offset
                       50740 DNGPrivateData                 BYTE             21    31466554 offset
                       50741 MakerNoteSafety                SHORT             1           1
                       50778 CalibrationIlluminant1         SHORT             1          17
                       50779 CalibrationIlluminant2         SHORT             1          21
                       Next IFD offset:          0
                         258 BitsPerSample                  SHORT          8     8     8
                         271 Make                           ASCII     Sinar AG
                         272 Model                          ASCII     Sinar Hy6 65
                         282 XResolution                    RATIONAL           72/1         
                         283 YResolution                    RATIONAL           72/1         
                         305 Software                       ASCII     1.022
                         700 XMP                            BYTE     



                       
                       36867 DateTimeOriginal               ASCII     2008:12:24 12:59:11
                       37390 FocalPlaneXResolution          RATIONAL         3716/1         
                       37391 FocalPlaneYResolution          RATIONAL         3704/1         
                       50708 UniqueCameraModel              ASCII     Sinar Hy6 65
                       50721 ColorMatrix1                   SRATIONAL        4632/10000             -544/10000               56/10000            -4015/10000            12269/10000     
                                                                            1763/10000            -1859/10000             4095/10000             6137/10000     
                       50722 ColorMatrix2                   SRATIONAL        4632/10000             -544/10000               56/10000            -4015/10000            12269/10000     
                                                                            1763/10000            -1859/10000             4095/10000             6137/10000     
                       50723 CameraCalibration1             SRATIONAL           1/1                    0/1                    0/1                    0/1                    1/1         
                                                                               0/1                    0/1                    0/1                    1/1         
                       50724 CameraCalibration2             SRATIONAL           1/1                    0/1                    0/1                    0/1                    1/1         
                                                                               0/1                    0/1                    0/1                    1/1         
                       50728 AsShotNeutral                  RATIONAL        16384/42685            16384/16384            16384/21120     
                       50730 BaselineExposure               SRATIONAL      321928/1000000   
                       50731 BaselineNoise                  RATIONAL            1/1         
                       50732 BaselineSharpness              RATIONAL            1/1         
                       50735 CameraSerialNumber             ASCII     36.5025

                  Subfile Exif IFD at offset 31465764, level 1, nr of entries: 16, byte order: LSBF
                          ID Tag name                       type          count      value
                       _____ ______________________________ _________ _________ __________________
                       33434 ExposureTime                   RATIONAL          1    31467134 offset
                       34850 ExposureProgram                SHORT             1           1
                       34855 ISOSpeedRatings                SHORT             1         100
                       36864 ExifVersion                    UNDEFINED         4 0x30, 0x32, 0x32, 0x30
                       36868 DateTimeDigitized              ASCII            20    31467114 offset
                       37377 ShutterSpeedValue              SRATIONAL         1    31467142 offset
                       37378 ApertureValue                  RATIONAL          1    31467150 offset
                       37380 ExposureBiasValue              SRATIONAL         1    31467158 offset
                       37383 MeteringMode                   SHORT             1           4
                       37384 LightSource                    SHORT             1           1
                       37385 Flash                          SHORT             1           1
                       37386 FocalLength                    RATIONAL          1    31467166 offset
                       37500 MakerNote                      UNDEFINED   2074738    31467238 offset
                       41986 ExposureMode                   SHORT             1           1
                       41987 WhiteBalance                   SHORT             1           1
                       42016 ImageUniqueID                  ASCII            33    31467174 offset
                       Next IFD offset:          0
                       33434 ExposureTime                   RATIONAL         5031/1000000   
                       36868 DateTimeDigitized
              • 4. Re: dng_validate.exe write dng to dng and new file is 11 MB less in size
                fware_de Level 1
                Processing file C:\Dokumente und Einstellungen\fware\Eigene Dateien\Eigene Bilder\tese5\D078_0001.dng<br />Byte order: Least Significant Byte First<br /><br />    Subfile First IFD at offset 8, level 0, nr of entries: 50, byte order: LSBF<br />            ID Tag name                       type          count      value<br />         _____ ______________________________ _________ _________ __________________<br />           254 NewSubfileType                 LONG              1           1<br />           256 ImageWidth                     LONG              1         256<br />           257 ImageLength                    LONG              1         191<br />           258 BitsPerSample                  SHORT             3         614 offset<br />           259 Compression                    SHORT             1           1<br />           262 PhotometricInterpretation      SHORT             1           2<br />           271 Make                           ASCII             9         620 offset<br />           272 Model                          ASCII            13         630 offset<br />           273 StripOffsets                   LONG              1     2085630<br />           274 Orientation                    SHORT             1           6<br />           277 SamplesPerPixel                SHORT             1           3<br />           278 RowsPerStrip                   LONG              1         191<br />           279 StripByteCounts                LONG              1      146688<br />           284 PlanarConfiguration            SHORT             1           1<br />           305 Software                       ASCII             6         644 offset<br />           306 DateTime                       ASCII            20         650 offset<br />           330 SubIFDs                        LONG              1        7550<br />           700 XMP                            BYTE           6371         670 offset<br />         34665 ExifIFD                        LONG              1       10496<br />         34858 TimeZoneOffset                 SSHORT            2           1,      1<br />         34859 SelfTimerMode                  SHORT             1           0<br />         50706 DNGVersion                     BYTE              4 0x01, 0x02, 0x00, 0x00<br />         50707 DNGBackwardVersion             BYTE              4 0x01, 0x01, 0x00, 0x00<br />         50708 UniqueCameraModel              ASCII            13        7042 offset<br />         50721 ColorMatrix1                   SRATIONAL         9        7056 offset<br />         50722 ColorMatrix2                   SRATIONAL         9        7128 offset<br />         50723 CameraCalibration1             SRATIONAL         9        7200 offset<br />         50724 CameraCalibration2             SRATIONAL         9        7272 offset<br />         50727 AnalogBalance                  RATIONAL          3        7344 offset<br />         50728 AsShotNeutral                  RATIONAL          3        7368 offset<br />         50730 BaselineExposure               SRATIONAL         1        7392 offset<br />         50731 BaselineNoise                  RATIONAL          1        7400 offset<br />         50732 BaselineSharpness              RATIONAL          1        7408 offset<br />         50734 LinearResponseLimit            RATIONAL          1        7416 offset<br />         50735 CameraSerialNumber             ASCII             8        7424 offset<br />         50739 ShadowScale                    RATIONAL          1        7432 offset<br />         50741 MakerNoteSafety                SHORT             1           1<br />         50778 CalibrationIlluminant1         SHORT             1          17<br />         50779 CalibrationIlluminant2         SHORT             1          21<br />         50781 RawDataUniqueID                BYTE             16        7440 offset<br />         50931 CameraCalibrationSignature     ASCII            10        7456 offset<br />         50932 ProfileCalibrationSignature    ASCII            10        7466 offset<br />         50936 ProfileName                    ASCII             9        7476 offset<br />         50941 ProfileEmbedPolicy             LONG              1           0<br />         50966 PreviewApplicationName         ASCII            13        7486 offset<br />         50967 PreviewApplicationVersion      ASCII             4 1.2 <br />         50968 PreviewSettingsName            ASCII             8        7500 offset<br />         50970 PreviewColorSpace              LONG              1           2<br />         50971 PreviewDateTime                ASCII            26        7508 offset<br />         50972 RawImageDigest                 BYTE             16        7534 offset<br />         Next IFD offset:          0<br />           258 BitsPerSample                  SHORT          8     8     8<br />           271 Make                           ASCII     Sinar AG<br />           272 Model                          ASCII     Sinar Hy6 65<br />           305 Software                       ASCII     1.022<br />           306 DateTime                       ASCII     2009:02:23 18:15:16<br />           700 XMP                            BYTE      <br /><?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?><br /><x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.1.1"><br /> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><br />  <rdf:Description rdf:about=""<br />    xmlns:tiff="http://ns.adobe.com/tiff/1.0/"><br />   <tiff:Make>Sinar AG</tiff:Make><br />   <tiff:Model>Sinar Hy6 65</tiff:Model><br />   <tiff:Orientation>6</tiff:Orientation><br />  </rdf:Description><br />  <rdf:Description rdf:about=""<br />    xmlns:exif="http://ns.adobe.com/exif/1.0/"><br />   <exif:ExifVersion>0220</exif:ExifVersion><br />   <exif:ExposureTime>1/200</exif:ExposureTime><br />   <exif:ShutterSpeedValue>7643856/1000000</exif:ShutterSpeedValue><br />   <exif:FNumber>9/1</exif:FNumber><br />   <exif:ApertureValue>633985/100000</exif:ApertureValue><br />   <exif:ExposureProgram>1</exif:ExposureProgram><br />   <exif:ISOSpeedRatings><br />    <rdf:Seq><br />     <rdf:li>100</rdf:li><br />    </rdf:Seq><br />   </exif:ISOSpeedRatings><br />   <exif:DateTimeOriginal>2008-12-24T12:59:11+01:00</exif:DateTimeOriginal><br />   <exif:DateTimeDigitized>2008-12-24T12:59:11+01:00</exif:DateTimeDigitized><br />   <exif:ExposureBiasValue>0/65536</exif:ExposureBiasValue><br />   <exif:MeteringMode>4</exif:MeteringMode><br />   <exif:LightSource>1</exif:LightSource><br />   <exif:Flash rdf:parseType="Resource"><br />    <exif:Fired>True</exif:Fired><br />    <exif:Return>0</exif:Return><br />    <exif:Mode>0</exif:Mode><br />    <exif:Function>False</exif:Function><br />    <exif:RedEyeMode>False</exif:RedEyeMode><br />   </exif:Flash><br />   <exif:FocalLength>80000/1000</exif:FocalLength><br />   <exif:ExposureMode>1</exif:ExposureMode><br />   <exif:WhiteBalance>1</exif:WhiteBalance><br />   <exif:FocalPlaneXResolution>3716/1</exif:FocalPlaneXResolution><br />   <exif:FocalPlaneYResolution>3704/1</exif:FocalPlaneYResolution><br />   <exif:FocalPlaneResolutionUnit>2</exif:FocalPlaneResolutionUnit><br />   <exif:ImageUniqueID>00000000000000000000000000000002</exif:ImageUniqueID><br />  </rdf:Description><br />  <rdf:Description rdf:about=""<br />    xmlns:xap="http://ns.adobe.com/xap/1.0/"><br />   <xap:ModifyDate>2009-02-23T18:15:16+01:00</xap:ModifyDate><br />   <xap:CreatorTool>1.022</xap:CreatorTool><br />  </rdf:Description><br />  <rdf:Description rdf:about=""<br />    xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"><br />   <aux:SerialNumber>36.5025</aux:SerialNumber><br />  </rdf:Description><br /> </rdf:RDF><br /></x:xmpmeta><br /><?xpacket end="w"?><br />         50708 UniqueCameraModel              ASCII     Sinar Hy6 65<br />         50721 ColorMatrix1                   SRATIONAL        4702/10000             -552/10000               57/10000            -4075/10000            12453/10000      <br />                                                              1789/10000            -1887/10000             4157/10000             6229/10000      <br />         50722 ColorMatrix2                   SRATIONAL        4702/10000             -552/10000               57/10000            -4075/10000            12453/10000      <br />                                                              1789/10000            -1887/10000             4157/10000             6229/10000      <br />         50723 CameraCalibration1             SRATIONAL       10000/10000                0/10000                0/10000                0/10000            10000/10000
                • 5. Re: dng_validate.exe write dng to dng and new file is 11 MB less in size
                  fware_de Level 1
                  Processing file C:\Dokumente und Einstellungen\fware\Eigene Dateien\Eigene Bilder\SINAR_DNG\S1000001.DNG
                  Byte order: Least Significant Byte First

                      Subfile First IFD at offset 31464960, level 0, nr of entries: 42, byte order: LSBF
                              ID Tag name                       type          count      value
                           _____ ______________________________ _________ _________ __________________
                             254 NewSubfileType                 LONG              1           1
                             256 ImageWidth                     LONG              1         320
                             257 ImageLength                    LONG              1         240
                             258 BitsPerSample                  SHORT             3    31465962 offset
                             259 Compression                    SHORT             1           1
                             262 PhotometricInterpretation      SHORT             1           2
                             271 Make                           ASCII             9    31466310 offset
                             272 Model                          ASCII            13    31466322 offset
                             273 StripOffsets                   LONG              1    31234560
                             274 Orientation                    SHORT             1           6
                             277 SamplesPerPixel                SHORT             1           3
                             278 RowsPerStrip                   LONG              1         240
                             279 StripByteCounts                LONG              1      230400
                             282 XResolution                    RATIONAL          1    31465970 offset
                             283 YResolution                    RATIONAL          1    31465978 offset
                             284 PlanarConfiguration            SHORT             1           1
                             296 ResolutionUnit                 SHORT             1           2
                             305 Software                       ASCII             6    31466338 offset
                             330 SubIFDs                        LONG              1    31465470
                             700 XMP                            BYTE            134    31466346 offset
                           34665 ExifIFD                        LONG              1    31465764
                           34859 SelfTimerMode                  SHORT             1           0
                           36867 DateTimeOriginal               ASCII            20    31465986 offset
                           37390 FocalPlaneXResolution          RATIONAL          1    31466006 offset
                           37391 FocalPlaneYResolution          RATIONAL          1    31466014 offset
                           37392 FocalPlaneResolutionUnit       SHORT             1           2
                           37398 TIFF_EPStandardID              BYTE              4 0x00, 0x00, 0x00, 0x01
                           50706 DNGVersion                     BYTE              4 0x01, 0x00, 0x00, 0x00
                           50708 UniqueCameraModel              ASCII            13    31466482 offset
                           50721 ColorMatrix1                   SRATIONAL         9    31466022 offset
                           50722 ColorMatrix2                   SRATIONAL         9    31466094 offset
                           50723 CameraCalibration1             SRATIONAL         9    31466166 offset
                           50724 CameraCalibration2             SRATIONAL         9    31466238 offset
                           50728 AsShotNeutral                  RATIONAL          3    31466498 offset
                           50730 BaselineExposure               SRATIONAL         1    31466522 offset
                           50731 BaselineNoise                  RATIONAL          1    31466530 offset
                           50732 BaselineSharpness              RATIONAL          1    31466538 offset
                           50735 CameraSerialNumber             ASCII             8    31466546 offset
                           50740 DNGPrivateData                 BYTE             21    31466554 offset
                           50741 MakerNoteSafety                SHORT             1           1
                           50778 CalibrationIlluminant1         SHORT             1          17
                           50779 CalibrationIlluminant2         SHORT             1          21
                           Next IFD offset:          0
                             258 BitsPerSample                  SHORT          8     8     8
                             271 Make                           ASCII     Sinar AG
                             272 Model                          ASCII     Sinar Hy6 65
                             282 XResolution                    RATIONAL           72/1         
                             283 YResolution                    RATIONAL           72/1         
                             305 Software                       ASCII     1.022
                             700 XMP                            BYTE     



                           
                           36867 DateTimeOriginal               ASCII     2008:12:24 12:59:11
                           37390 FocalPlaneXResolution          RATIONAL         3716/1         
                           37391 FocalPlaneYResolution          RATIONAL         3704/1         
                           50708 UniqueCameraModel              ASCII     Sinar Hy6 65
                           50721 ColorMatrix1                   SRATIONAL        4632/10000             -544/10000               56/10000            -4015/10000            12269/10000     
                                                                                1763/10000            -1859/10000             4095/10000             6137/10000     
                           50722 ColorMatrix2                   SRATIONAL        4632/10000             -544/10000               56/10000            -4015/10000            12269/10000     
                                                                                1763/10000            -1859/10000             4095/10000             6137/10000     
                           50723 CameraCalibration1             SRATIONAL           1/1                    0/1                    0/1                    0/1                    1/1         
                                                                                   0/1                    0/1                    0/1                    1/1         
                           50724 CameraCalibration2             SRATIONAL           1/1                    0/1                    0/1                    0/1                    1/1         
                                                                                   0/1                    0/1                    0/1                    1/1         
                           50728 AsShotNeutral                  RATIONAL        16384/42685            16384/16384            16384/21120     
                           50730 BaselineExposure               SRATIONAL      321928/1000000   
                           50731 BaselineNoise                  RATIONAL            1/1         
                           50732 BaselineSharpness              RATIONAL            1/1         
                           50735 CameraSerialNumber             ASCII     36.5025

                      Subfile Exif IFD at offset 31465764, level 1, nr of entries: 16, byte order: LSBF
                              ID Tag name                       type          count      value
                           _____ ______________________________ _________ _________ __________________
                           33434 ExposureTime                   RATIONAL          1    31467134 offset
                           34850 ExposureProgram                SHORT             1           1
                           34855 ISOSpeedRatings                SHORT             1         100
                           36864 ExifVersion                    UNDEFINED         4 0x30, 0x32, 0x32, 0x30
                           36868 DateTimeDigitized              ASCII            20    31467114 offset
                           37377 ShutterSpeedValue              SRATIONAL         1    31467142 offset
                           37378 ApertureValue                  RATIONAL          1    31467150 offset
                           37380 ExposureBiasValue              SRATIONAL         1    31467158 offset
                           37383 MeteringMode                   SHORT             1           4
                           37384 LightSource                    SHORT             1           1
                           37385 Flash                          SHORT             1           1
                           37386 FocalLength                    RATIONAL          1    31467166 offset
                           37500 MakerNote                      UNDEFINED   2074738    31467238 offset
                           41986 ExposureMode                   SHORT             1           1
                           41987 WhiteBalance                   SHORT             1           1
                           42016 ImageUniqueID                  ASCII            33    31467174 offset
                           Next IFD offset:          0
                           33434 ExposureTime                   RATIONAL         5031/1000000   
                           36868 DateTimeDigitized
                  • 6. Re: dng_validate.exe write dng to dng and new file is 11 MB less in size
                    Panoholic Level 2
                    Peter,

                    can not you upload the files somewhere? This is quite illegible here.
                    Or, send them to me as attachments. "contact dot me at telus dot net".
                    • 7. Re: dng_validate.exe write dng to dng and new file is 11 MB less in size
                      fware_de Level 1
                      sent by mail.... Thanks of help.
                      • 8. Re: dng_validate.exe write dng to dng and new file is 11 MB less in size
                        MadManChan2000 Adobe Employee
                        The difference is the Lossless JPEG compression.