Added image factory function, row and col ranges