- Timestamp:
- 2015-09-07T23:32:27+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java
r8729 r8733 295 295 public BufferedImage process(BufferedImage image) { 296 296 final LookupOp op = getOp(image.getRaster().getNumBands()); 297 final BufferedImage to = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_INT_RGB);297 final BufferedImage to = new BufferedImage(image.getWidth(), image.getHeight(), image.getType()); 298 298 return op == null ? image : op.filter(image, to); 299 299 }
Note:
See TracChangeset
for help on using the changeset viewer.