Giter Club home page Giter Club logo

Comments (4)

Aaaaaaaty avatar Aaaaaaaty commented on July 21, 2024

@pcjgithub 原因大概是canvas的drawImage这个api不能直接绘制gif这种多帧的动态图

from blog.

pcjgithub avatar pcjgithub commented on July 21, 2024

哦哦,现在我们有个需求要做一个类似QQ截图功能的东西,这个可以给一个demo或者思路或者技术文档吗

from blog.

pcjgithub avatar pcjgithub commented on July 21, 2024

我自己确实不知道用什么技术才能集成那些功能,比如截图之后可以移动,截视频等多阵图

from blog.

Aaaaaaaty avatar Aaaaaaaty commented on July 21, 2024

@pcjgithub canvas目前静态图应该是可以的 但是gif和svg可能会出现些问题。截图移动纯代码就可以控制你的截图框,截视频的话我不确定canvas2html里面绘制video标签出来的效果,如果可以绘制出某一帧,那么也许可以当你截图的时候自动暂停播放去绘制。总的来说截图需要基于html2canvas 你可以看看它的文档,什么东西可以从html转换为canvas 剩下截取的部分就很容易了

from blog.

Related Issues (20)

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.