private void readObject(ObjectInputStream in) throws IOException
	{
		try
		{
			name=(String)in.readObject();
			width=in.readInt();
			height=in.readInt();
			hSubimages=in.readInt();
			anchor=(Point)in.readObject();
			image=ImageIO.read(in);
		}
		catch(ClassNotFoundException e)
		{
			e.printStackTrace();
			System.exit(1);
		}
	}