codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
// Add: import javax.media.jai.Interpolation; import javax.media.jai.JAI; import javax.media.jai.RenderedOp; import com.sun.media.jai.codec.FileSeekableStream; gbDrawing.java:17: package javax.media.jai does not exist import javax.media.jai.JAI; ^ gbDrawing.java:41: cannot find symbol symbol : variable JAI location: class gbDrawing RenderedImage bmpImage = JAI.create("fileload", argv[1]); ^ gbDrawing.java:44: cannot find symbol symbol : constructor WritableRaster(java.awt.image.SampleModel,java.awt.Point) location: class java.awt.image.WritableRaster bmpWritable = bmpImage.copyData(new WritableRaster(bmpImage.getSampleModel(), new Point())); ^ gbDrawing.java:47: cannot find symbol symbol : constructor BufferedImage(java.awt.image.ColorModel,java.awt.image.WritableRaster,int,java.util.Hashtable) location: class java.awt.image.BufferedImage bmpBI = new BufferedImage(bmpImage.getColorModel(), bmpWritable, 0, new Hashtable()); ^ 4 errors
Private
[
?
]
Run code
Submit