using a lift-off resist pattern or a release layer pattern