esperent 31 minutes ago

Nice work.

Couple of issues I had: on mobile (Brave on Android) the touch controls for cropping are very janky. Feels like it steals control each time the picture updates maybe?

It's hard to see the controls under the picture on this small screen. Could you add a control to adjust the size of the controls and shrink the picture maybe?

rorylaitila 3 hours ago

I've been looking for an open source image editor that I can embed in my app for managing my vintage ad archives (https://adretro.com). Basically I just need to rotate, crop, adjust color. But the images come from from the archive database rather than upload. And I want to work with them quickly, rather than save/open like a desktop app. Last time I looked I couldn't find something with good documentation that was easy to get started with. Right now I bulk edit in Google Photos.

PaulDavisThe1st an hour ago

Extremely nice work.

I'd like it if there were separate buttons for (a) reset a section (e.g. colors) back to the default and (b) do not use a section (e.g. colors). Right now, turning (e.g.) colors off loses the settings there. Maybe I missed something though.

  • sgc an hour ago

    I too agree this is great, and see space for another low-hanging UI tweak:

    Allow editing numbers to right directly, instead of only using the slider. I really dislike using sliders beyond a first general impression because it is too slow to get things exactly as I want them. I would guess this is a relatively common sentiment.

    One feature I don't see but would love to see is text overlay, but that is perhaps moving away from the spirit of the project.

    • PaulDavisThe1st 24 minutes ago

      I don't do web based development (all native desktop), but I'd be quite surprised if this was "low hanging".

      We have widgets that do this in Ardour and they were far from simple to implement.

Dwedit 2 hours ago

Is there any interference from "anti-fingerprinting" which corrupts the image canvas?

popalchemist an hour ago

Hey, awesome work! This is sorely needed in the OSS package space.

Are you taking into account separation of concerns? I could see myself adopting this if the UI were customizable in Vue, React, etc.

rebelnz 3 hours ago

Really nice work. I had been using Photopea for cropping and quick edits when preparing references for painting but this is super clean and simple.

ww520 4 hours ago

Excellent work. The UI looks very clean and functional. It's feature packed. Good choice on using WebGL. It has support everywhere in most if not all browsers.

kreelman 2 hours ago

This does useful things easily. How hard would it be to use it as a batch process?

amadeuspagel 8 hours ago

Nice. I tried it with an image from Unsplash. Maybe you can use the Unsplash API[1] to give people an example to play with.

[1]: https://unsplash.com/developers

  • axelMI 6 hours ago

    Will have a look at this thanks! in the meantime I've added a quick sample gallery to test the editor out

flashblaze 7 hours ago

I'm so glad this exsist. I've been meaning to get something similar started, but did not due to one reason or the other. I'll definitely try to contribute.

  • axelMI 6 hours ago

    Whenever you feel like, ping me on github

gtb_1 8 hours ago

Did you consider using WebGPU, or creating a bridge between WebGPU / WebGL for this? Also, have you considered deploying on Cloudflare Pages [1] (unlimited bandwidth) instead of netlify?

[1] - https://pages.cloudflare.com/

asadm 8 hours ago

in the editor, do add a way to load sample random image to try out the editor instead of having to uploading my own (which most won't bother / don't trust / can't do at work).

  • axelMI 8 hours ago

    Great advise. Will add it next.

    Bust just to be clear, images are handled 100% locally on the user machine. No data is sent to servers, no adv, no cookies, nothing ...

    • asadm 8 hours ago

      Yup I get that.

  • axelMI 6 hours ago

    sample images added. thanks for the tip

fidotron 8 hours ago

This is neat. Any plans to add blurs and related effects?

  • axelMI 6 hours ago

    yes, I don't use them but if required it will be easy to add

cmenge 7 hours ago

Lol, I added a todo yesterday: "find or build good image cropper, ideally gl based" ;)

Guess the search might be over, thanks!

  • axelMI 6 hours ago

    let me know of any usability issue. I tried different combinations and this seemed intuitive for me (compared to other solution), but of course I'm too biased.

atonse 9 hours ago

Very cool! What's the license, and how does it compare to some of the other croppers/editors out there? Was it mainly the GL integration?

  • axelMI 9 hours ago

    Ops forgot to add MIT license As for the underlying modules on which it relies Will fix it shortly

neosat 6 hours ago

Nice! Good performance, clean UI, and core functionality.

  • axelMI 6 hours ago

    thanks. It started as a proof of concept for a custom reactivity engine (based on signals and tagged template literals). But while at it I realised I needed something quick and easy for my needs.

    I already have a prototype for a self-hosted photogallery that integrates this editor (something like https://immich.app to give you an idea). But it's still too early to share

stared 9 hours ago

Thank you for sharing!

What's the license?

  • axelMI 8 hours ago

    MIT. thanks for point that out, I did forget to add it

quantadev 8 hours ago

I tried to figure out how to crop an image and found nothing. There doesn't seem to be a crop feature as far as I could tell. I'm sure it's probably there, but not easy for anyone to figure out. Would be super easy to make it intuitive right?

  • axelMI 8 hours ago

    it's the composition menu ... will rename it

    just select the area you wish to crop and then move to the other settings (colors, ...) to edit it

    • atonse 7 hours ago

      I did this but when I hit download, I got back the original image instead of the cropped image.

    • quantadev 6 hours ago

      I tried it again, and finally noticed you have to click the corner of the image to move the selection area. It works, but then I didn't see a "Crop" button. Only trying to be helpful, and not complaining. Nice work tho on this component.

      • axelMI 6 hours ago

        No no I absolutely need this kind of feedback thanks! Being a solo developer is very difficult to gage usability and UX is definitely not my strength.

        I tried to integrate the crop/ composition in the natural workflow of image processing, without a discreet "crop" button. But I guess it's not necessarily the most intuite thing to do :)