mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-17 00:04:18 +00:00
fix(engine): remove redundant signature image option defaults
This commit is contained in:
1 file changed
-1
@@ -143,7 +143,6 @@ pub(crate) fn decode_source(bytes: &[u8]) -> Result<DynamicImage, SignatureImage
|
||||
max_pixels: MAX_SOURCE_PIXELS,
|
||||
max_alloc: MAX_SOURCE_PIXELS * 4,
|
||||
},
|
||||
..Default::default()
|
||||
};
|
||||
let decoded = craft_image_codecs::decode_as_with(format, bytes, &opts).map_err(|e| match e {
|
||||
craft_image_codecs::CodecError::LimitExceeded(_) => SignatureImageError::Size,
|
||||
|
||||
Reference in new issue
Block a user