diff --git a/README.md b/README.md index 806555e..20c882a 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,7 @@ The CERT2 blob is an ASN.1 DER-encoded certificate containing image header hash | 16,588,800 | 1440×2880 | | 14,745,600 | 1440×2560 | | 10,886,400 | 1080×2520 | +| 10,627,200 | 1080×2460 | | 10,368,000 | 1080×2400 | | 10,108,800 | 1080×2340 | | 9,849,600 | 1080×2280 | diff --git a/README_zh.md b/README_zh.md index 34cfce5..7d71a9f 100644 --- a/README_zh.md +++ b/README_zh.md @@ -168,6 +168,7 @@ CERT2 blob 是一个 ASN.1 DER 编码的证书,包含镜像头哈希和镜像 | 16,588,800 | 1440×2880 | | 14,745,600 | 1440×2560 | | 10,886,400 | 1080×2520 | +| 10,627,200 | 1080×2460 | | 10,368,000 | 1080×2400 | | 10,108,800 | 1080×2340 | | 9,849,600 | 1080×2280 | diff --git a/src/image_codec.rs b/src/image_codec.rs index 69b83e0..5add9f7 100644 --- a/src/image_codec.rs +++ b/src/image_codec.rs @@ -42,6 +42,7 @@ pub fn known_sizes() -> &'static [(usize, (u32, u32))] { (14_745_600, (1440, 2560)), // 1080P (FHD/FHD+) (10_886_400, (1080, 2520)), + (10_627_200, (1080, 2460)), (10_368_000, (1080, 2400)), (10_108_800, (1080, 2340)), (9_849_600, (1080, 2280)), @@ -234,4 +235,4 @@ pub fn zlib_compress(data: &[u8]) -> Vec { let mut encoder = ZlibEncoder::new(Vec::new(), Compression::best()); encoder.write_all(data).unwrap(); encoder.finish().unwrap() -} \ No newline at end of file +}