[opengtl-commits] [699] third channel of ARGB images is an alpha channel |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 699
Author: cyrille
Date: 2009-03-26 13:41:20 +0100 (Thu, 26 Mar 2009)
Log Message:
-----------
third channel of ARGB images is an alpha channel
Modified Paths:
--------------
trunk/libQtGTL/QtGTL/QImageImage.cpp
Modified: trunk/libQtGTL/QtGTL/QImageImage.cpp
===================================================================
--- trunk/libQtGTL/QtGTL/QImageImage.cpp 2009-03-26 12:32:40 UTC (rev 698)
+++ trunk/libQtGTL/QtGTL/QImageImage.cpp 2009-03-26 12:41:20 UTC (rev 699)
@@ -66,7 +66,7 @@
}
case QImage::Format_ARGB32:
{
- GTLCore::PixelDescription p = GTLCore::PixelDescription( GTLCore::Type::UnsignedInteger8, 4 );
+ GTLCore::PixelDescription p = GTLCore::PixelDescription( GTLCore::Type::UnsignedInteger8, 4, 3 );
p.setChannelPositions( createPositions( 4 ) );
return p;
}