]> granicus.if.org Git - libjpeg-turbo/commitdiff
Oops. Need to set the alpha channel when using TYPE_4BYTE_ABGR*. This has no bearin...
authorDRC <dcommander@users.sourceforge.net>
Tue, 27 Jan 2015 20:59:16 +0000 (20:59 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 27 Jan 2015 20:59:16 +0000 (20:59 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1525 632fc199-4ca6-4c93-a231-07263d6284db

java/TJUnitTest.java

index ab539c4f5e3a2e585b1c36c7e6dcad3c55a74d2d..d4726b3926e5fdd6434f5dfe8c7f4ca2c8968713 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2011-2014 D. R. Commander.  All Rights Reserved.
+ * Copyright (C)2011-2015 D. R. Commander.  All Rights Reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -105,7 +105,7 @@ public class TJUnitTest {
         return TJ.PF_BGR;
       case BufferedImage.TYPE_4BYTE_ABGR:
       case BufferedImage.TYPE_4BYTE_ABGR_PRE:
-        return TJ.PF_XBGR;
+        return TJ.PF_ABGR;
       case BufferedImage.TYPE_BYTE_GRAY:
         return TJ.PF_GRAY;
       case BufferedImage.TYPE_INT_BGR: