Changeset 16885 in josm
- Timestamp:
- 2020-08-12T21:36:02+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/GettingStarted.java
r16872 r16885 8 8 import java.awt.Graphics; 9 9 import java.io.IOException; 10 import java.net.URL;11 10 import java.nio.charset.StandardCharsets; 12 11 import java.util.regex.Matcher; -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r16880 r16885 683 683 try { 684 684 Image i = ii.getImage(); 685 if (i instanceof RenderedImage) {686 ImageIO.write((RenderedImage) i, "png", os);687 return "data:image/png;base64," +Base64.getEncoder().encodeToString(os.toByteArray());685 if (i instanceof RenderedImage) { 686 ImageIO.write((RenderedImage) i, "png", os); 687 return "data:image/png;base64," + Base64.getEncoder().encodeToString(os.toByteArray()); 688 688 } 689 689 } catch (final IOException ioe) {
Note:
See TracChangeset
for help on using the changeset viewer.