| Author |
BufferedImage makes black quadrate instead of picture
|
Bobby Marvikuan
Ranch Hand
Joined: Mar 14, 2012
Posts: 54
|
|
can anyone help to spot my mistake?
I have a code and exactly in this code somewhere is mistake because it saves black image
here is code:
is it because of TYPE_INT_RGB?
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4163
|
|
You didn't draw anything to the BufferedImage. What did you expect?
edit: Unrelated, but don't get into the habit of coding empty catch blocks. At the very least, print the Exception's stack trace.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
 |
|
|
subject: BufferedImage makes black quadrate instead of picture
|
|
|