From 3e38cd5ba333025acbccf8c4410c44762cf06165 Mon Sep 17 00:00:00 2001 From: dcommander Date: Tue, 27 Jan 2015 20:58:25 +0000 Subject: Oops. Need to set the alpha channel when using TYPE_4BYTE_ABGR*. This has no bearing on the actual tests, but it prevents the PNG pre-encode reference images for those tests from being blank. git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1524 632fc199-4ca6-4c93-a231-07263d6284db --- java/TJUnitTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'java') diff --git a/java/TJUnitTest.java b/java/TJUnitTest.java index ab539c4..d4726b3 100644 --- a/java/TJUnitTest.java +++ b/java/TJUnitTest.java @@ -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: -- cgit v1.2.3