28 public VSFImage(DataInputStream in)
throws IOException
31 height = in.readInt();
32 components = in.readInt();
33 pixels =
new byte[width * height * components];
37 public void write(DataOutputStream out)
throws IOException
41 out.writeInt(components);
45 public byte getType() {
return SFIMAGE; }