[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/kipi-plugins/dngconverter/dngwriter
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2008-09-26 9:41:33
Message-ID: 1222422093.976797.9984.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 864973 by cgilles:

set orientation flag properlly using new likdcraw flag


 M  +2 -1      dngwriter.cpp  


--- trunk/extragear/graphics/kipi-plugins/dngconverter/dngwriter/dngwriter.cpp #864972:864973
@@ -168,6 +168,7 @@
         qDebug() << "--- Make:          " << identify.make;
         qDebug() << "--- Model:         " << identify.model;
         qDebug() << "--- Size:          " << width << "x" << height;
+        qDebug() << "--- Orientation:   " << identify.orientation;
         qDebug() << "--- Top margin:    " << identify.topMargin;
         qDebug() << "--- Left margin:   " << identify.leftMargin;
         qDebug() << "--- Filter:        " << identify.filterPattern;
@@ -287,7 +288,7 @@
         ifd.fCFALayout                 = 1;                 // Rectangular (or square) layout.
         ifd.fPhotometricInterpretation = piCFA;
         ifd.fFillOrder                 = 1;
-        ifd.fOrientation               = 0;
+        ifd.fOrientation               = identify.orientation;
         ifd.fSamplesPerPixel           = 1;
         ifd.fPlanarConfiguration       = 1;
         ifd.fXResolution               = 0.0;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic