allow image creation from an instance