Skip to content

Commit b895d8c

Browse files
author
Gary Frost
committedJul 31, 2024
Changed image to match JVMLS deck
1 parent df11b23 commit b895d8c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎hat/examples/heal/src/main/java/heal/Main.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ public class Main {
4545
public static void main(String[] args) throws IOException {
4646
Accelerator accelerator = new Accelerator(MethodHandles.lookup(), Backend.FIRST);
4747

48-
var image= ImageIO.read(Main.class.getResourceAsStream("/images/bolton.png"));
48+
var image= ImageIO.read(Main.class.getResourceAsStream(
49+
"/images/raw.jpg"
50+
// "/images/bolton.png"
51+
));
4952
if (image.getType() != BufferedImage.TYPE_INT_RGB){//Better way?
5053
var rgbimage = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_INT_RGB);
5154
rgbimage.getGraphics().drawImage(image, 0, 0, null);
Loading

0 commit comments

Comments
 (0)