glfx.js
使用由 WebGL 支持的图像效果库 glfx.js 实时调整浏览器中的照片。它使用您的图形卡来处理图像效果,而这些图像效果不可能仅通过 JavaScript 实时应用。
glfx.js 有两个注意事项。首先,WebGL 是一种新技术,只有在最新的浏览器中才能使用,并且在大多数用户拥有它之前还需要一段时间。其次,由于相同的出处政策,JavaScript 只允许读取源自与读取它相同的域的图像,因此您可能必须托管修改的图像。一个使用 WebGL 的 JavaScript 图像效果库。「An image effects library for JavaScript using WebGL」
使用由 WebGL 支持的图像效果库 glfx.js 实时调整浏览器中的照片。它使用您的图形卡来处理图像效果,而这些图像效果不可能仅通过 JavaScript 实时应用。
glfx.js 有两个注意事项。首先,WebGL 是一种新技术,只有在最新的浏览器中才能使用,并且在大多数用户拥有它之前还需要一段时间。其次,由于相同的出处政策,JavaScript 只允许读取源自与读取它相同的域的图像,因此您可能必须托管修改的图像。名称与所有者 | evanw/glfx.js |
---|---|
主编程语言 | JavaScript |
编程语言 | Python (语言数: 4) |
平台 | Web browsers |
许可证 | MIT License |
创建于 | 2011-05-31 01:15:31 |
---|---|
推送于 | 2023-10-23 13:33:18 |
最后一次提交 | 2022-01-10 12:00:59 |
发布数 | 0 |
星数 | 3.4k |
---|---|
关注者数 | 99 |
派生数 | 410 |
提交数 | 44 |
已启用问题? | |
问题数 | 50 |
打开的问题数 | 31 |
拉请求数 | 1 |
打开的拉请求数 | 11 |
关闭的拉请求数 | 1 |
已启用Wiki? | |
---|---|
已存档? | |
是复刻? | |
已锁定? | |
是镜像? | |
是私有? |
Adjust photos in your browser in realtime with glfx.js, an image effects library powered by WebGL. It uses your graphics card for image effects that would be impossible to apply in real-time with JavaScript alone.
There are two caveats to glfx.js. First, WebGL is a new technology that is only available in the latest browsers and it will be quite a while before the majority of users have it. Second, due to the same origin policy, JavaScript is only allowed to read images that originate from the same domain as the script reading them, so you may have to host the images you modify.