mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Render Video alpha: a matte array of the wrong length or with a non-number is an error (#14163)
This commit is contained in:
1 parent
d137f58e06
commit
e5ef3bd3fe
1 file changed
+2
@@ -120,6 +120,8 @@ fn a_wrong_alpha_or_matte_is_an_error() {
|
||||
json!({"format": "png", "alpha": true}),
|
||||
json!({"format": "png", "alpha": "premultipliedColor", "matte": "green"}),
|
||||
json!({"format": "png", "alpha": "premultipliedColor", "matte": [0, 2, 0]}),
|
||||
json!({"format": "png", "alpha": "premultipliedColor", "matte": [0, 1]}),
|
||||
json!({"format": "png", "alpha": "premultipliedColor", "matte": [0, "1", 0]}),
|
||||
json!({"format": "png", "alpha": "premultipliedColor", "matte": 7}),
|
||||
json!({"format": "png", "alpha": "premultipliedColor", "matte": "00ff00"}),
|
||||
json!({"format": "png", "alpha": "premultipliedColor", "matte": "#00ff0080"}),
|
||||
|
||||
Reference in new issue
Block a user