private boolean readPlane(int[] dst, byte[] tmp, int width, int height) {
		try
		{
			for (int y = 0; y < height; y++) 
			{
				dis.read(tmp);
				for (int x = 0; x < width; x++) 
				{
					dst[y * width + x] = unsignedByteToInt(tmp[x]);
				}	
			}

			return true;
		} 
		catch (Exception e)
		{
			e.printStackTrace();
			return false;
		}

	}