@@ -7,13 +7,13 @@ describe('resize.fromJson', () => {
77 { actionType : 'fit' , dimensions : { height : 200 , aspectRatio : '16:9' } , relative : true } ,
88 { actionType : 'limitFit' , dimensions : { height : 200 , aspectRatio : 'ignore_aspect_ratio' } , relative : true } ,
99 { actionType : 'minimumFit' , dimensions : { width : 100 } , regionRelative : true } ,
10- { actionType : 'crop' , dimensions : { width : 100 } , regionRelative : true , gravity : ' north_east', y : 3 , zoom : 7 } ,
11- { actionType : 'fill' , dimensions : { width : 100 } , relative : true , gravity : 'south' , x : 4 , y : 5 } ,
12- { actionType : 'limitFill' , dimensions : { width : 100 } , relative : true , gravity : ' south', x : 4 , y : 5 } ,
13- { actionType : 'thumbnail' , dimensions : { width : 100 } , relative : true , gravity : ' south', zoom : 4 } ,
14- { actionType : 'pad' , dimensions : { width : 100 } , relative : true , gravity : ' south', x : 3 , y :4 , background : 'white' } ,
15- { actionType : 'limitPad' , dimensions : { width : 100 } , relative : true , gravity : ' south', x : 3 , y :4 , background : 'white' } ,
16- { actionType : 'minimumPad' , dimensions : { width : 100 } , relative : true , gravity : ' south', x : 3 , y :4 , background : 'white' } ,
10+ { actionType : 'crop' , dimensions : { width : 100 } , regionRelative : true , gravity : { gravityType : 'direction' , compass : ' north_east'} , y : 3 , zoom : 7 } ,
11+ { actionType : 'fill' , dimensions : { width : 100 } , relative : true , gravity : { gravityType : 'ocr' } , x : 4 , y : 5 } ,
12+ { actionType : 'limitFill' , dimensions : { width : 100 } , relative : true , gravity : { gravityType : 'direction' , compass : ' south'} , x : 4 , y : 5 } ,
13+ { actionType : 'thumbnail' , dimensions : { width : 100 } , relative : true , gravity : { gravityType : 'direction' , compass : ' south'} , zoom : 4 } ,
14+ { actionType : 'pad' , dimensions : { width : 100 } , relative : true , gravity : { gravityType : 'direction' , compass : ' south'} , x : 3 , y :4 , background : 'white' } ,
15+ { actionType : 'limitPad' , dimensions : { width : 100 } , relative : true , gravity : { gravityType : 'direction' , compass : ' south'} , x : 3 , y :4 , background : 'white' } ,
16+ { actionType : 'minimumPad' , dimensions : { width : 100 } , relative : true , gravity : { gravityType : 'direction' , compass : ' south'} , x : 3 , y :4 , background : 'white' } ,
1717 ] ) ;
1818
1919 expect ( transformation . toString ( ) ) . toStrictEqual ( [
@@ -22,7 +22,7 @@ describe('resize.fromJson', () => {
2222 'c_limit,fl_ignore_aspect_ratio,fl_relative,h_200' ,
2323 'c_mfit,fl_region_relative,w_100' ,
2424 'c_crop,fl_region_relative,g_north_east,w_100,y_3,z_7' ,
25- 'c_fill,fl_relative,g_south ,w_100,x_4,y_5' ,
25+ 'c_fill,fl_relative,g_ocr_text ,w_100,x_4,y_5' ,
2626 'c_lfill,fl_relative,g_south,w_100,x_4,y_5' ,
2727 'c_thumb,fl_relative,g_south,w_100,z_4' ,
2828 'b_white,c_pad,fl_relative,g_south,w_100,x_3,y_4' ,
0 commit comments