mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-02 00:36:46 +00:00
Signed-off-by: Chiranjeevi U <244287281+chiranjeevi-max@users.noreply.github.com>
This commit is contained in:
1 parent
69fa2ea9f8
commit
b5edb59d84
1 file changed
+1
-1
@@ -152,7 +152,7 @@ mod tests {
|
||||
let image = SignatureImage::from_bytes(&jpeg.into_inner()).unwrap();
|
||||
assert_eq!(image.size(), [60, 20]);
|
||||
assert!(image.bytes().starts_with(b"\x89PNG\r\n\x1a\n"));
|
||||
assert!(image.rgba().chunks_exact(4).all(|p| p[3] == 255));
|
||||
assert!(image.rgba().as_chunks::<4>().0.iter().all(|p| p[3] == 255));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user