Flash 图像上传需要强制裁剪吗?
有人知道 Flash 文件(图像)上传器会强制用户在上传之前调整图像大小和/或裁剪图像吗?然后也上传它。
基本上,我不希望我的服务器处理图像调整大小/裁剪。我想指定目标纵横比,并让用户调整大小并裁剪图像以使其适合。
我以前见过裁剪上传器,但它们似乎都是服务器端的。我看到了一个 Flex 的,但我不确定它是“强制性的”——基本上,如果用户只是上传图像而不进行编辑,那么我希望 Flash 能够缩放图像并使图像适合设定的尺寸...保留它我猜想在一个方向上较短,以免拉伸。
外面有这样的事吗? 谢谢!
Anyone know of a Flash file (image) uploader that will force a user to resize and/or crop their image BEFORE uploading it? To then upload it as well.
Basically, I don't want my server processing the image resize/crop. I want to specify a target aspect ratio and have the user resize and crop their image to make it fit.
I've seen cropping uploaders before but they all seem to be server side. I saw a Flex one but I'm not sure it's "mandatory" -- Basically if the user just uploads the image without making edits, then I'd like the Flash to scale and fit the image into set dimensions...Leaving it I guess short in one direction to not stretch.
Anything like this out there?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有一个赏金,运行速度非常快类似的问题,请务必看一下 - 不过,还没有任何东西可以进行客户端调整大小。
另外,SWFUpload 据说在新的 Beta 版中支持它,但目前该功能的记录非常稀疏。您可能需要对其进行处理才能使其按您想要的方式运行。
I have a bounty running with a very similar question, be sure to take a peek - there isn't anything there yet that does client side resizing, though.
Also, SWFUpload is said to support it in the new Beta, but the feature is very sparsely documented right now. You would probably have to work on it to get it running the way you want.
http ://www.adylevy.com/index.php/2009/07/22/multiple-files-uploader-with-preview-on-client-side/
还有一个名为 resize before upload 但该网站下去了。不过,当我更新此内容并且我们正在讨论这个主题时,我不明白为什么您现在想要使用 Flash 来完成此任务。 JavaScript 有很多选择,现在我们还有 Google 的 Dart(它构建 JavaScript)。
http://www.adylevy.com/index.php/2009/07/22/multiple-files-uploader-with-preview-on-client-side/
there was another one called resize before upload but the site went down. though while I'm updating this and we're on the subject -- I don't see why you'd want to use Flash these days for this task. There are plenty of JavaScript options and now we also have Google's Dart (which builds JavaScript).