]> 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 21:00:22 +0000 (21:00 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 27 Jan 2015 21:00:22 +0000 (21:00 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1526 632fc199-4ca6-4c93-a231-07263d6284db

java/TJUnitTest.java

index 6c7b29eb1057ce67a0db10fc5d93fc0eb9134df0..ac91a3d12f394bd6e831db91e177787aa0f1cfea 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2011-2012, 2014 D. R. Commander.  All Rights Reserved.
+ * Copyright (C)2011-2012, 2014-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:
@@ -104,7 +104,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: