我需要为网站添加一些关于图像处理的额外功能。
用户必须能够在图片库中显示、缩放和旋转图片。
是否有任何免费的 javascript 库/框架可以处理此操作?
最佳答案
还不错
Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web. If you want to create your own specific chart or image crop and rotate widget, for example, you can achieve it simply and easily with this library.
Raphaël uses the SVG W3C Recommendation and VML as a base for creating graphics. This means every graphical object you create is also a DOM object, so you can attach JavaScript event handlers or modify them later. Raphaël’s goal is to provide an adapter that will make drawing vector art compatible cross-browser and easy.
loupe.js具有出色的缩放功能。
关于Javascript 图像处理库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1666830/