Remix.run Logo
rafram a day ago

> This just selects the image. 99 times out 100, you want to do the same things with the image data: adjust it in some way, and save it to object storage or something. The file input is too primitive for this.

That's not true at all. Obviously there's no `adjustinsomeway` or `savetoobjectstorage` attribute on the <input> element, but you can trivially grab the selected files, read them, and act on them with JavaScript: https://developer.mozilla.org/en-US/docs/Web/API/File_API/Us...

prmph a day ago | parent [-]

> and act on them with JavaScript

I thought the whole point was to avoid JavaScript, by having rich UI components built right into the browser

rafram a day ago | parent [-]

Sure, but what kind of image manipulation do you think would actually belong in the HTML spec? That just seems way out of scope to me.

no_wizard 10 hours ago | parent [-]

Why not something similar to what iOS has? Or Windows?

They all have functional built in image editors. They're very light weight, and are not meant to replace a dedicated tool, but if all you want to do is crop an image or other relatively simple tasks, there's ample evidence on other platforms that providing these minimal tools is big value to users.