@@ -5,21 +5,3 @@ export const accessibilityEffect = {
55 'colorblind' : { effect : 'assist_colorblind' }
66}
77
8- export const predominantColorTransformPxl = [
9- { width : 'iw_div_2' , aspect_ratio : 1 , crop : 'pad' , background : 'auto' } ,
10- { crop : 'crop' , width : 1 , height : 1 , gravity : 'north_east' } ,
11- { fetch_format : 'auto' , quality : 'auto' } ] ;
12-
13- export const predominantColorTransform = [
14- { variables : [ [ '$currWidth' , 'w' ] , [ '$currHeight' , 'h' ] ] } ,
15- { width : 'iw_div_2' , aspect_ratio : 1 , crop : 'pad' , background : 'auto' } ,
16- { crop : 'crop' , width : 10 , height : 10 , gravity : 'north_east' } ,
17- { width : '$currWidth' , height : '$currHeight' , crop : 'fill' } ,
18- { fetch_format : 'auto' , quality : 'auto' } ] ;
19-
20- export const placeholderImageOptions = {
21- 'vectorize' : [ { effect : 'vectorize:3:0.1' , fetch_format : 'svg' } ] ,
22- 'pixelate' : [ { effect : 'pixelate' , quality : 1 , fetch_format : 'auto' } ] ,
23- 'blur' : [ { effect : 'blur:2000' , quality : 1 , fetch_format : 'auto' } ] ,
24- 'predominant-color' : predominantColorTransform
25- } ;
0 commit comments