Fix method signature for createImage in documentation.