1 Attachment(s)
java.lang.IllegalArgumentException: im == null!
I am getting the following output after executing the attached code:
Code:
Available: 109980
Reader is not found
Image is NULL
java.lang.IllegalArgumentException: im == null!
at javax.imageio.ImageIO.write(Unknown Source)
at javax.imageio.ImageIO.write(Unknown Source)
at Main_TEST.main(Main_TEST.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at edu.rice.cs.drjava.model.compiler.JavacCompiler.runCommand(JavacCompiler.java:271)
Can anyone please give me a solution to this problem, or can anyone suggest me any alternative ways to write image after bit-manipulation.
Thanks in advance in anticipation of an early reply.