Re: How to create a TIFF image from a binary raw data
huayingyang@gmail.com wrote:
If you can spot something wrong with above code, please kindly inform
me.
D:\projects\junk\numbered\484Image\Image.java:8: class, interface, or enum
expected
protected Image load(byte[] data) {
^
D:\projects\junk\numbered\484Image\Image.java:10: class, interface, or enum
expected
Image image = null;
^
D:\projects\junk\numbered\484Image\Image.java:11: class, interface, or enum
expected
try {
^
D:\projects\junk\numbered\484Image\Image.java:18: class, interface, or enum
expected
if (imagej != null) {
^
D:\projects\junk\numbered\484Image\Image.java:20: class, interface, or enum
expected
}
^
D:\projects\junk\numbered\484Image\Image.java:24: class, interface, or enum
expected
image = null;
^
D:\projects\junk\numbered\484Image\Image.java:25: class, interface, or enum
expected
}
^
D:\projects\junk\numbered\484Image\Image.java:27: class, interface, or enum
expected
}
^
8 errors
Any thoughtful ideas are greatly appreciated.
I recommend posting SSCCE code.
<http://www.physci.org/codes/sscce.html>
<dws>Was that 'thoughtful' enough?</dws>
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via http://www.javakb.com