A method and device for converting digital images of hand drawings for further use in a structured text / graphics editor.