Post

Today I finally got some examples running of using the #photoShop cloud API online. Not Pretty at all. Would love to have alternatives. But it’s shocking that image libraries like sharp (libvips) have no transformations for layers beyond affine matrices. No perspective bit warp. Wild. Sad.

sharp caps out at affine, but libvips itself doesn't: vips mapim takes an arbitrary coordinate map, so a 3x3 homography works — wasm-vips exposes it too. In the browser a perspective warp is just a textured quad in WebGL, or cv.warpPerspective in opencv.js. No cloud round-trip needed.

0 reposts1 like

No replies yet.