SaveImageFunctions: changed implicit definition to implicit class