form-extractor-prototype icon indicating copy to clipboard operation
form-extractor-prototype copied to clipboard

Support image upload in addition to input from a URL

Open simonw opened this issue 10 months ago • 0 comments

Let people provide input to the tool without needing to upload the image somewhere else to get a URL for it first.

You can support drag and drop of images in addition to click to select - I did that for my https://tools.simonwillison.net/ocr tool (mostly written for me by Claude 3 Opus) - you can see how that works in the source code here: https://github.com/simonw/tools/blob/baebe5777294e4ecb5a482aca4919be214132024/ocr.html#L224-L262

simonw avatar Apr 19 '24 15:04 simonw