迷你“图像作曲家”在 html/javascript 中?
对于一个小型项目,我必须在 html/javascript(没有 Flash/Silverlight...它必须在平板电脑设备上工作)中创建一个小型“图像编辑器”:
目标是创建图像,并且可以组合它许多其他的,所以目标是:
- 在服务器上上传图像
- 可以将它们添加到“工作区”,调整大小/旋转/移动它们
- 与文本相同
问题是应用程序必须与 IE7 兼容,所以我不能使用html5。
那么你认为这可能吗?您在这个领域有任何联系/经验吗?我只是不知道该怎么做。有没有一些图书馆可以完成这项工作(甚至提供帮助)?
事实上,我找到了一个几乎完全符合我想要的内容的网站: http://www.polyvore.com/cgi /app
他们是怎么做到的?
谢谢
For a small project, I've to create in html/javascript (no Flash/Silverlight... it has to work on tablet devices) a small "image composer":
The goal is to create an image, and it can be composed of many others, so the goal is to:
- upload images on the server
- have the possibility to add them on the "workspace", resize/rotate/move them
- Same thing with text
The problem is that the application has to be compatible with IE7, so I cannot use html5.
So do you think it's possible? Have you any link/experience in this domain? I've just no idea about how to do this. Is there some library which can do the job(or even help)?
In fact I found a website which has almost exactly what I want: http://www.polyvore.com/cgi/app
How they did this?
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知,您所需要的只是可以对图像应用各种转换。您可以结合使用 SVG/VML 技术以跨浏览器的方式完成此操作。首先你可以尝试使用 raphael 库。看一下 Paper.image 方法。对于转换,您可以使用 Element.rotate 和 Element.scale。
As far as I see all you need is possibility to apply various transformations to images. You can do it in cross-browser manner using combination of SVG/VML technologies. At first you can try to use raphael library for that. Take a look at Paper.image method. For transformations you can use Element.rotate and Element.scale.
我结束了用 jquery 编写的自定义脚本
I ended doing a custom script with jquery