简体   繁体   English

SEAM,JSF图像处理

[英]SEAM, JSF Image manipulation

I am new to SEAM and JSF, and want to design image manipulation application using it. 我是SEAM和JSF的新手,并且想使用它设计图像处理应用程序。 I am planning to use JQuery plugins at client side for image effects such as crop, rotate, resize and many more. 我打算在客户端使用JQuery插件来实现图像效果,例如裁剪,旋转,调整大小等等。 My Concerns are, 我的关注是

  1. I don't know about any good server-side library for this. 我不知道有什么好的服务器端库。 Which would be a best for java. 这将是最适合Java的。
  2. How Clientside and Serverside manipulation will be synchronized, because if user decide to crop image at client-side, how serverside library would have information about coordinates to crop? 客户端和服务器端操作将如何同步,因为如果用户决定在客户端裁剪图像,服务器端库将如何获得有关裁剪坐标的信息?

If you guys have any different approach than this, it would be good to learn. 如果你们有什么不同的方法,那将是很好的学习。

Thanks, Rahul 谢谢,拉胡尔

Solved this by using JCrop and other JQuery plugins and using Java ImageIO at server side. 通过使用JCrop和其他JQuery插件并在服务器端使用Java ImageIO解决了此问题。 JCrop works pretty much with coordinates. JCrop与坐标几乎一起工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM