Пример #1
0
 public override void ParseItem (ByteVector id, ByteVector data, int start, int length)
 {
    if (id == "strf")
       Codec = new BitmapInfoHeader (data, start);
 }
Пример #2
0
 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;
 }