posted 14 years ago
I use this method to convert an image to an array of byte
When I try to reconvert the byte array into an Image by this code
PS: a is the byte array, y is an int array obtained by converting byte array like this
but the final image I found on the desktop is not the real image!!! It has a black background with some vertical colored lines.
Where is my error? In the first or in the second part?