• Post Reply Bookmark Topic Watch Topic
  • New Topic

Image gets Tampered.... Image correction  RSS feed

 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,
I am getting an buffered Image using JAI and i am drawing a rectangle of White color... so that images behind the rectangle get hidden... After saving the image images gets tampered in Struts...i am calling the method in action class...

If i test the same program in core java.... its working well ....






I am really in trouble.... Please give some idea.

-Rodricks
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please give some idea.

An idea about what? You haven't told us what is and is not working. TellTheDetails
 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir,

Sorry for not describing in detail. I solved the problem. It was because of the one line in the code

g.drawImage(bi, null, 0, 0);

i made it commented.

Thanks with regs,

Rodricks
 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir,

Sorry for not describing in detail. I solved the problem. It was because of the one line in the code

g.drawImage(bi, null, 0, 0);

i made it commented.

Thanks with regards,

Rodricks
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!