Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Browser-Based Image Editor with Custom Filters and Blend Modes (github.com/victorqribeiro)
2 points by atum47 on Oct 17, 2024 | hide | past | favorite | 6 comments


Thank you so much for making this.

I am still figuring out how exactly the filter works. The guide you linked is great, but I was confused how to replicate the steps in your editor.

Fur purposes of playing around, it would be great if you linked some good images/examples. The ones in my download folder are kind of bad.

Also: https://www.youtube.com/@Acerola_t



Yeah, I can look into adding a example image or even the ability to load a online image via URL


Yeah, I was thinking about writing a blog post about it but I did not know if people would be interested.

For the filter try this

     0 -1  0
    -1  5 -1
     0 -1  0
This will apply a sharp filter to a loaded image

    0  1  0
    1 -3  1
    0  1  0
This one will bluer the image


Hi everyone,

I built customFilter, a browser-based image editor, to explore how various filter kernels convolve with images to produce different results. One key feature is the stack system, where you can load and access multiple images via variables (i1, i2, i3… iN). From there, you can apply custom blend operations like:

    i1 < 0.5 ? i2 : i3
meaning if a pixel in image1 is below 0.5 (pixel value is normalized), it uses the pixel from image2, otherwise image3. It’s fully open-source, and I’d love to hear your thoughts.


If anybody is interested here's an example of how to do edge detection using this editor https://github.com/victorqribeiro/customFilter/issues/1#issu...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: