Menu

#239 Image warping tools

v0.9.31
open
magic idea (19)
3
2024-06-05
2023-05-19
No

A set of Magic tools that offer warping effects, similar to GIMP's "Warp Transform" tool:
* Move pixels (like our "Smudge", but without blurring/blending)
* Grow area (dilate)
* Shrink area (contract)
* Swirl (both clockwise (CW) and counter-clockwise (CCW))

Discussion

  • William Kendrick

    In GIMP, this is handled by the GEGL library; see https://gitlab.gnome.org/GNOME/gegl/-/blob/master/operations/common-cxx/warp.cc (Prior to digging that up, I started on something, currently located in magic/src/WIP/warp.c. It tries to create a 'mesh' which gets pushed around during mouse motion (drag), but so far it's very slow and the actual warping is not implemented. I was considering cribbing the code from the perspective tool, to apply perspective to small pieces of the picture, but that doesn't sound like it would perform well.)

     
  • William Kendrick

    • Group: v0.9.30 --> v0.9.31
     
  • William Kendrick

    • labels: --> magic idea
     
  • William Kendrick

    See also

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.