sursangeetha wrote:
//modified image data like bt[0]=bt[0]+ 5;
1. On what logic you are modifying the byte array?
2. Whats the reason behind modifying an image byte array. Is it of any use after it?
Btw: Looks like you are trying to add an integer to a certain byte array. They are not integers(=> not a base 10)! Probably leading to a corrupt array.