I have written this code for my J2me project:
try {image is irreversible = Image CreateImage (temp, 0, temp.length); } Hold (Exception Pre) {System.out.println (ex); }
Where temp
is a byte array.
When I try to do it for the local host, it works, and the image is formed but when I tried to do it on the LAN, it was a invalid arguments exception.
throws, and the image is not created.
How can I solve this problem?
say
invalid record exception - if image data is wrongly formatted Formatted or otherwise decoded
I would say that you are receiving a different byte array.
Comments
Post a Comment