mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 20:20:30 +00:00
Bump the image comparison threshold again
Not sure what the right long-term solution is here. An alternative image comparison? Take multiple screenshots?
This commit is contained in:
parent
06bf84f151
commit
d700f1f500
@ -18,9 +18,9 @@ public final class ImageUtils
|
|||||||
private static final Logger LOG = LogManager.getLogger( ImageUtils.class );
|
private static final Logger LOG = LogManager.getLogger( ImageUtils.class );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allow 0.1% of pixels to fail. This allows for slight differences at the edges.
|
* Allow 0.3% of pixels to fail. This allows for slight differences at the edges.
|
||||||
*/
|
*/
|
||||||
private static final double PIXEL_THRESHOLD = 0.001;
|
private static final double PIXEL_THRESHOLD = 0.003;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum possible distance between two colours. Floating point differences means we need some fuzziness here.
|
* Maximum possible distance between two colours. Floating point differences means we need some fuzziness here.
|
||||||
|
Loading…
Reference in New Issue
Block a user