public CdnPathBuilder scaleCrop ( int width , int height ) { dimensionsGuard ( width , height ) ; sb . append ( "/-/scale_crop/" ) . append ( width ) . append ( "x" ) . append ( height ) ; return this ; }
Scales the image until one of the dimensions fits then crops the bottom or right side .