src/main/java/com/uploadcare/urls/CdnPathBuilder.java
public CdnPathBuilder resizeWidth(int width) {
        dimensionGuard(width);
        sb.append("/-/resize/")
                .append(width)
                .append("x");
        return this;
    }
public CdnPathBuilder resizeWidth(int width) {
        dimensionGuard(width);
        sb.append("/-/resize/")
                .append(width)
                .append("x");
        return this;
    }
public CdnPathBuilder resizeWidth ( int width ) { dimensionGuard ( width ) ; sb . append ( "/-/resize/" ) . append ( width ) . append ( "x" ) ; return this ; }
Resizes width, keeping the aspect ratio.

@param width New width
Resizes width keeping the aspect ratio .