$ 0 0 You should 'translate' the command line arguments to methods/properties. For example '-colors 255' is this: MGKimage.QuantizeColors=255