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 只允许读取源自与读取它相同的域的图像,因此您可能必须托管修改的图像。Name With Owner | evanw/glfx.js |
---|---|
Primary Language | JavaScript |
Program language | Python (Language Count: 4) |
Platform | Web browsers |
License: | MIT License |
Created At | 2011-05-31 01:15:31 |
---|---|
Pushed At | 2023-10-23 13:33:18 |
Last Commit At | 2022-01-10 12:00:59 |
Release Count | 0 |
Stargazers Count | 3.4k |
---|---|
Watchers Count | 99 |
Fork Count | 410 |
Commits Count | 44 |
Has Issues Enabled | |
Issues Count | 50 |
Issue Open Count | 31 |
Pull Requests Count | 1 |
Pull Requests Open Count | 11 |
Pull Requests Close Count | 1 |
Has Wiki Enabled | |
---|---|
Is Archived | |
Is Fork | |
Is Locked | |
Is Mirror | |
Is Private |
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.