Adapts to modified ScalaImages API