src/main/java/org/gm4java/im4java/GMOperation.java
public GMOperation resize(final int width, final int height, final Collection<GeometryAnnotation> annotations) {
        final List<String> args = getCmdArgs();
        args.add("-resize");
        args.add(resample(width, height, annotations));
        return this;
    }
public GMOperation resize(final int width, final int height, final Collection<GeometryAnnotation> annotations) {
        final List<String> args = getCmdArgs();
        args.add("-resize");
        args.add(resample(width, height, annotations));
        return this;
    }
public GMOperation resize ( final int width , final int height , final Collection < GeometryAnnotation > annotations ) { final List < String > args = getCmdArgs ( ) ; args . add ( "-resize" ) ; args . add ( resample ( width , height , annotations ) ) ; return this ; }
Resize source to desired target dimensions, using default resizing filter algorithm.

@param width
Length in pixels of the target image's width.
@param height
Length in pixels of the target image's height.
@param annotations
Geometry annotations to define how the {@code width} and {@code height} options are to be interpreted.
@return Builder object for chained options setup.
Resize source to desired target dimensions using default resizing filter algorithm .