public override void ParseItem (ByteVector id, ByteVector data, int start, int length) { if (id == "strf") Codec = new BitmapInfoHeader (data, start); }
public bool Equals(BitmapInfoHeader other) { return ((((((this.size == other.size) && (this.width == other.width)) && ((this.height == other.height) && (this.planes == other.planes))) && (((this.bit_count == other.bit_count) && (this.compression_id == other.compression_id)) && ((this.size_of_image == other.size_of_image) && (this.x_pixels_per_meter == other.x_pixels_per_meter)))) && ((this.y_pixels_per_meter == other.y_pixels_per_meter) && (this.colors_used == other.colors_used))) && (this.colors_important == other.colors_important)); }
/// <summary> /// Checks whether or not the current instance is equal to /// another instance of <see cref="BitmapInfoHeader" />. /// </summary> /// <param name="other"> /// A <see cref="BitmapInfoHeader" /> object to compare to /// the current instance. /// </param> /// <returns> /// A <see cref="bool" /> value indicating whether or not the /// current instance is equal to <paramref name="other" />. /// </returns> /// <seealso cref="M:System.IEquatable`1.Equals" /> public bool Equals(BitmapInfoHeader other) { return size == other.size && width == other.width && height == other.height && planes == other.planes && bit_count == other.bit_count && compression_id == other.compression_id && size_of_image == other.size_of_image && x_pixels_per_meter == other.x_pixels_per_meter && y_pixels_per_meter == other.y_pixels_per_meter && colors_used == other.colors_used && colors_important == other.colors_important; }