Skip to content

Commit 4a9dad1

Browse files
authored
πŸš€ feat: v0.1.7 배포 (#39)
* πŸš‘οΈ fix: 이미지 파일 μ €μž₯ λ©”μ„œλ“œ μ‚­μ œ
1 parent cab3d81 commit 4a9dad1

File tree

1 file changed

+6
-7
lines changed
  • app-maple-stamp-api/src/main/java/com/mapletrend/appmaplestampapi/service

1 file changed

+6
-7
lines changed

β€Žapp-maple-stamp-api/src/main/java/com/mapletrend/appmaplestampapi/service/StampService.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import java.awt.Graphics2D;
1010
import java.awt.image.BufferedImage;
1111
import java.io.ByteArrayOutputStream;
12-
import java.io.File;
1312
import java.io.IOException;
1413
import javax.imageio.ImageIO;
1514
import lombok.RequiredArgsConstructor;
@@ -99,12 +98,12 @@ public byte[] createStampImage(JSONObject jsonObject) {
9998

10099
graphics2D.dispose();
101100

102-
try {
103-
File file = new File("stamp.jpg");
104-
ImageIO.write(bufferedImage, "jpg", file);
105-
} catch (IOException e) {
106-
log.error("이미지 파일 생성 쀑 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€.", e);
107-
}
101+
// try {
102+
// File file = new File("stamp.jpg");
103+
// ImageIO.write(bufferedImage, "jpg", file);
104+
// } catch (IOException e) {
105+
// log.error("이미지 파일 생성 쀑 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€.", e);
106+
// }
108107

109108
ByteArrayOutputStream baos = new ByteArrayOutputStream();
110109
try {

0 commit comments

Comments
Β (0)