mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
who let that space in there?
This commit is contained in:
@@ -275,7 +275,7 @@ public class PImage implements PConstants, Cloneable {
|
||||
pixels = new int[width * height];
|
||||
WritableRaster raster = bi.getRaster();
|
||||
raster.getDataElements(0, 0, width, height, pixels);
|
||||
if (bi.getType() == BufferedImage.TYPE_INT_ARGB) {
|
||||
if (bi.getType() == BufferedImage.TYPE_INT_ARGB) {
|
||||
format = ARGB;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user