added default constructor to ImageWriter