fix(engine): remove redundant signature image option defaults

This commit is contained in:
Mex authored and GitHub committed 2026-11-14 20:43:33 +01:00
1 parent f404a891ee
commit 4e2a02fbe1
1 file changed
-1
-1
View File
@@ -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,