用于PHP / Javascript的裁剪工具/脚本

时间:2021-04-25 21:19:57

I am looking for a decent image cropping solution, ideally a script that would do the following :

我正在寻找一个像样的图像裁剪解决方案,理想情况下是一个可以执行以下操作的脚本:

Allow to upload an image (ideally via ajax), crop the image using some jQuery like cropping tool and then save the 'new' cropped image while retaining the image untouched.

允许上传图像(理想情况下通过ajax),使用一些jQuery(如裁剪工具)裁剪图像,然后保存“新”裁剪图像,同时保持图像不变。

Is there anything people could recommend?

有没有人可以推荐的?

2 个解决方案

#1


1  

Use Pixastic for client-side image processing.

使用Pixastic进行客户端图像处理。


Edit

It sounds like you might be looking for an image crop GUI for users, rather than a way to programmatically crop images (as I read your question originally). In that case, there are a variety of jQuery plugins that provide this; jrac seems to be a reasonably up-to-date one.

听起来您可能正在为用户寻找图像裁剪GUI,而不是以编程方式裁剪图像的方式(因为我最初阅读您的问题)。在这种情况下,有各种jQuery插件提供此功能; jrac似乎是一个合理的最新版本。

#2


0  

you can check here it is good tool

你可以在这里查看它是一个很好的工具

http://deepliquid.com/content/Jcrop_Download.html

http://deepliquid.com/content/Jcrop_Download.html

#1


1  

Use Pixastic for client-side image processing.

使用Pixastic进行客户端图像处理。


Edit

It sounds like you might be looking for an image crop GUI for users, rather than a way to programmatically crop images (as I read your question originally). In that case, there are a variety of jQuery plugins that provide this; jrac seems to be a reasonably up-to-date one.

听起来您可能正在为用户寻找图像裁剪GUI,而不是以编程方式裁剪图像的方式(因为我最初阅读您的问题)。在这种情况下,有各种jQuery插件提供此功能; jrac似乎是一个合理的最新版本。

#2


0  

you can check here it is good tool

你可以在这里查看它是一个很好的工具

http://deepliquid.com/content/Jcrop_Download.html

http://deepliquid.com/content/Jcrop_Download.html