Added imagedata constructor

Added imagedata constructor feature per discussion with Rik