@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ImageAttributes other = (ImageAttributes) obj;
		if (imgHeight != other.imgHeight)
			return false;
		if (imgWidth != other.imgWidth)
			return false;
		if (pictureType == null) {
			if (other.pictureType != null)
				return false;
		} else if (!pictureType.equals(other.pictureType))
			return false;
		return true;
	}