I wrote this code for my j2me project.
try { Image immutableThumb = Image.createImage( temp, 0, temp.length); } catch (Exception ex) { System.out.println(ex); }
where temp is a byte array. When I tried it for localhost it works,& image is get created. But when I tried it on LAN it shows the exception, illegalArgumentException. Image does'nt created. How can I solve the problem?