Coder Social home page Coder Social logo

Comments (5)

hnjerryluo avatar hnjerryluo commented on July 24, 2024 1

由于用了 clip 导致的,暂时还没想到解决方案

不透明情况下可以放大clip的三角形解决,但透明时就不行了
这篇文章里有介绍 http://lrdcq.com/me/read.php/82.htm

from canvas-test.

whxaxes avatar whxaxes commented on July 24, 2024

由于用了 clip 导致的,暂时还没想到解决方案

from canvas-test.

Jeff-CGJ avatar Jeff-CGJ commented on July 24, 2024

为什么不直接 用 css3 的 matrix3d 来解决问题?
下面是说明链接
http://www.useragentman.com/blog/2015/07/16/augment-photos-with-css3-matrix3d-transforms/

https://github.com/zoltan-dulac/Matrix-Construction-Set

但是我不知道 img transform后怎么保存变形的图片,你能帮下我吗? 该怎么做?

from canvas-test.

whxaxes avatar whxaxes commented on July 24, 2024

@chenguojie 要形变后能够保存为图片,我能想到的就只有 canvas

from canvas-test.

Jeff-CGJ avatar Jeff-CGJ commented on July 24, 2024

@whxaxes img css transform 后,你知道 怎么保存变形的结果吗? 我想不到这么弄? css 是能实现变形

from canvas-test.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.