|
|
|
@ -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("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); |
|
|
|
|
try { |
|
|
|
|
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) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}*/ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public BufferedImage crop(BufferedImage img, int x, int y, int targetWidth, int targetHeight) throws IOException { |
|
|
|
|