image performance improvements

This commit is contained in:
honfika@gmail.com
2014-12-14 01:21:51 +01:00
parent e2ba5aaf8d
commit 9eeb25b088
30 changed files with 226 additions and 238 deletions

View File

@@ -112,18 +112,10 @@ public class SerializableImage implements Serializable {
return image.getRGB(i, i1);
}
public int[] getRGB(int i, int i1, int i2, int i3, int[] ints, int i4, int i5) {
return image.getRGB(i, i1, i2, i3, ints, i4, i5);
}
public synchronized void setRGB(int i, int i1, int i2) {
image.setRGB(i, i1, i2);
}
public void setRGB(int i, int i1, int i2, int i3, int[] ints, int i4, int i5) {
image.setRGB(i, i1, i2, i3, ints, i4, i5);
}
public ColorModel getColorModel() {
return image.getColorModel();
}