Live data from Hacker News

Viewing profile — axelMI

axelMI

HN member
Joined
Tue, Apr 15, 2025, 7:59 PM UTC
HN karma
112
Public activity
40 items

About axelMI

No profile information was provided.

Recent public activity

  1. comment
    Comment #44123940

    you could have a look at the source code in https://github.com/xdadda/mini-photo-editor for image effects (demo at https://mini2-photo-editor.netlify.app/ )

  2. comment
  3. comment
    Comment #43867665

    added thanks for the suggestion

  4. comment
    Comment #43867653

    done! added in the "composition" menu and fully integrated in the workflow I preferred just having an input with the correct pixels rather than % (to keep UI clean) but you'll get …

  5. comment
    Comment #43849294

    Mhh. Maybe if you can show me an editor/app that does what you require will help me figure out how it works and replicate it

  6. comment
    Comment #43848477

    I don't know if I have to thank you or just hate you! Spent best part of the day figuring out the whole srgb-linear thing. Well the workflow should now be srgb correct! Had to fix …

  7. comment
    Comment #43839899

    oh, in that case it's enough to go in the crop section, select "pic" to keep the current "picture" aspect ratio and resize the crop box

  8. comment
    Comment #43837617

    I must admit this baffles me a little. Width and heights are measured in pixels. The number of pixels of an image is width x height (eg a raw image 256x256 means it has 256*256 = 6…

  9. comment
    Comment #43837323

    Ok interesting. I'll investigate thanks

  10. comment
  11. comment
    Comment #43832047

    numbers input added

  12. comment
    Comment #43831655

    thanks Just to better understand your request. a) the Ø at the right of a section resets the section's settings back to default zeros (it becomes white when available) b) closing a…

  13. comment
    Comment #43831566

    a whole new rabbit hole to get sucked into !! ahahah

  14. comment
    Comment #43830466

    You are right thanks for the heads up!! It currently works in linear color space. I wasn't familiar with the issue. I need to figure out if it's enough in Webgl to add gl.SRGB8_ALP…

  15. comment
    Comment #43830295

    That's true. But current shaders are very simple. The big issue I have with WebGPU is that it's still not supported by all browser (see Safari) while WebGL is nowadays everywhere. …

  16. comment
    Comment #43830267

    ehm, what? I'm not familiar with this issue

  17. comment
    Comment #43830250

    Easy, will add to the TODOs

  18. comment
    Comment #43830245

    Batch processing would ideally require a backend. Batch processing in the browser would be limited by memory space and therefore everything would have to be queued (even if on more…

  19. comment
    Comment #43830220

    Actually it's very easy to implement in a webapp. I will just need to think if there's a sleeker way to do it in terms of UI than just adding a simple input box ... although genera…

  20. comment
    Comment #43830196

    Editing number yes, will do next as I agree it's high priority from a usability pov.

  21. comment
    Comment #43830186

    maybe using the underlying webgl library could help your usecase? https://github.com/xdadda/mini-gl The constructor requires - a canvas (which can be an OffscreenCanvas) - an array…

  22. comment
    Comment #43830121

    The actual webgl engine is packaged as a separate library https://github.com/xdadda/mini-gl As for the more complex UI modules (ie crop) in theory it shouldn't be too difficult to …

  23. comment
    Comment #43830093

    Sorry, this at the moment is desktop only. Maybe in the future I'll work on a separate PWA, but UI would need a complete re-design

  24. comment
    Comment #43830080

    As mentioned in another comment, this is just a UI for https://github.com/xdadda/mini-gl

  25. comment