Closed lilith closed 1 year ago
ArgumentInvalid: LayoutError: ValueScalingFailed { ratio: 1.334448160535117, basis: -100, invalid_result: -133.44481605351172 } at
imageflow_core\src\flow\nodes\command_string.rs:96:61
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/nodes/command_string.rs#L96
imageflow_core\src\flow\execution_engine.rs:294:29
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/execution_engine.rs#L294
imageflow_core\src\context.rs:419:59
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context.rs#L419
imageflow_core\src\context_methods.rs:50:68
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context_methods.rs#L50
Active node:
NodeDebugInfo {
stable_id: 1,
params: Json(
CommandString {
kind: ImageResizer4,
value: "crop=0,0,0,0&h=-100&ignoreicc=false&maxwidth=2",
decode: Some(
0,
),
encode: Some(
1,
),
watermarks: None,
},
),
index: NodeIndex(0),
}
Imageflow.Bindings.ImageflowException
ArgumentInvalid: LayoutError: ValueScalingFailed { ratio: 1.334448160535117, basis: -100, invalid_result: -133.44481605351172 } at
imageflow_core\src\flow\nodes\command_string.rs:96:61
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/nodes/command_string.rs#L96
imageflow_core\src\flow\execution_engine.rs:294:29
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/execution_engine.rs#L294
imageflow_core\src\context.rs:419:59
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context.rs#L419
imageflow_core\src\context_methods.rs:50:68
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context_methods.rs#L50
Active node:
NodeDebugInfo {
stable_id: 1,
params: Json(
CommandString {
kind: ImageResizer4,
value: "crop=0,0,0,0&format=webp&h=-100&ignoreicc=true&maxwidth=-100&rotate=270&w=40",
decode: Some(
0,
),
encode: Some(
1,
),
watermarks: None,
},
),
index: NodeIndex(0),
}
Fixed in latest.