Hagumi stamp update fix.

This commit is contained in:
sigonasr2 2018-10-21 18:32:12 -05:00
parent 0e9240a8eb
commit 09c42f0155
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -143,7 +143,7 @@ public class BandoriModule extends Module{
stamp_map.put("sayo_im_sorry",Arrays.asList("sorry","gomen","apologize","somethingwrong","forgive")); stamp_map.put("sayo_im_sorry",Arrays.asList("sorry","gomen","apologize","somethingwrong","forgive"));
stamp_map.put("hagumi_hooray",Arrays.asList("hooray","hiphip","whoo","yahoo")); stamp_map.put("hagumi_hooray",Arrays.asList("hooray","hiphip","whoo","yahoo"));
for (String s : image_map.keySet()) { /*for (String s : image_map.keySet()) {
ImageScheme scheme = image_map.get(s); ImageScheme scheme = image_map.get(s);
try { try {
BufferedImage img = crop(scheme.base,scheme.stamp_index%6*270+4, scheme.stamp_index/6*223+3, 258, 214); BufferedImage img = crop(scheme.base,scheme.stamp_index%6*270+4, scheme.stamp_index/6*223+3, 258, 214);
@ -151,7 +151,7 @@ public class BandoriModule extends Module{
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
} }*/
} }
public BufferedImage crop(BufferedImage img, int x, int y, int targetWidth, int targetHeight) throws IOException { public BufferedImage crop(BufferedImage img, int x, int y, int targetWidth, int targetHeight) throws IOException {