• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java or IDE causing curropted Images

 
Munto Bunes
Greenhorn
Posts: 7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey you guys I need help. Ive been trying to access an image through java on a IDE causing weird complications of being unable to access when its allowed to be used. Then I go back to find the image fully black. All I'm trying to do is read the image which is a .png but I have a gut feeling it may be eclipse fault but no similar results are online so I am asking you guys if reading a file can corrupt it done the wrong way. (also getting it from resource folder)

code here:



error:

 
Munto Bunes
Greenhorn
Posts: 7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
noticed stuipid mistake (error/corruption still without it) just experimenting and forgot to change it back sending it on here
 
Munto Bunes
Greenhorn
Posts: 7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey you guys I need help. Ive been trying to access an image through java on a IDE causing weird complications of being unable to access when its allowed to be used. Then I go back to find the image fully black. All I'm trying to do is read the image which is a .png but I have a gut feeling it may be eclipse fault but no similar results are online so I am asking you guys if reading a file can corrupt it done the wrong way. (also getting it from resource folder)

code here:



error:

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!