File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
app-maple-stamp-api/src/main/java/com/mapletrend/appmaplestampapi/service Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 9
9
import java .awt .Graphics2D ;
10
10
import java .awt .image .BufferedImage ;
11
11
import java .io .ByteArrayOutputStream ;
12
- import java .io .File ;
13
12
import java .io .IOException ;
14
13
import javax .imageio .ImageIO ;
15
14
import lombok .RequiredArgsConstructor ;
@@ -99,12 +98,12 @@ public byte[] createStampImage(JSONObject jsonObject) {
99
98
100
99
graphics2D .dispose ();
101
100
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
+ // }
108
107
109
108
ByteArrayOutputStream baos = new ByteArrayOutputStream ();
110
109
try {
You canβt perform that action at this time.
0 commit comments