public static ushort[] ReadUShortArray( this BitmapMetadata metadata, string query ) { return metadata.ReadObject( query ) as ushort[]; }