Add output parameter, and allow inline image output