简体   繁体   English

是否有可以为ASP.NET处理图像的应用程序?

[英]Is there an application that can manipulate images for ASP.NET?

Basically functionality i need is: 我需要的基本功能是:

  1. easy integration with ASP.NET application. 与ASP.NET应用程序轻松集成。
  2. user ability to crop image with handle prior to save 用户在保存之前使用手柄裁剪图像的能力
  3. image optimization from any image type to jpg (compression levels) during the save 保存期间从任何图像类型到jpg(压缩级别)的图像优化
  4. saving images with proper h/w ratios during the save 在保存过程中以适当的硬件比率保存图像
  5. user ability to rotate the image prior to save 用户在保存之前旋转图像的能力
  6. ability to translate application to foreign language as it won't be used on international site 能够将应用程序翻译成外语,因为它不会在国际站点上使用

If you know any application which fits my needs even if it costs money, give me a twit... 如果您知道即使有钱也能满足我的需要的应用程序,请给我个提示。

Our company has implemented a photo cropper in an ASP.Net MVC application using Atalasoft's DotImage. 我们公司已使用Atalasoft的DotImage在ASP.Net MVC应用程序中实现了照片裁剪器。 I did not implement this myself, but I currently maintain the whole of that application (and consequently the cropping component). 我自己没有实现此功能,但是我目前维护了整个应用程序(因此是裁剪组件)。

Based on the way you phrased your question, I feel that I should explicitly point out that Atalasoft's DotImage only provided the functionality to manipulate images. 根据您表达问题的方式,我觉得我应该明确指出Atalasoft的DotImage仅提供处理图像的功能。 Other answers referenced ImageMagick and GDI+. 其他答案引用了ImageMagick和GDI +。 In the same vein, these libraries also only provide the functionality to manipulate images. 同样,这些库也仅提供处理图像的功能。

We had to implement the UI and workflow ourselves. 我们必须自己实现UI和工作流。 This was, while not rocket science, still far from trivial. 这虽然不是火箭科学,但仍然很重要。 While we used a pre-built component for fancy, AJAX-y file uploads (for the source photos) - we still had to integrate that into the application and manage persistence of the files and database records associated with them. 虽然我们使用预制组件来制作精美图片,但仍要上传AJAX-y文件(用于源照片)-我们仍然必须将其集成到应用程序中,并管理文件和与其关联的数据库记录的持久性。 (Similarly, as a convenience we allow import photo from url - another feature we had to explicitly create) (同样,为了方便起见,我们允许从url导入照片-我们必须明确创建的另一个功能)

I would suggest that you will not find any general purpose component to integrate that will give you cropping functionality and a Web UI. 我建议您不要找到任何集成的通用组件,这些组件将为您提供裁剪功能和Web UI。 I suppose there may be one made by a ASP.Net component vendor, but I am certainly not aware of any off-hand. 我想可能有一个由ASP.Net组件供应商生产的产品,但是我当然不知道会有任何附属产品。

The problem tends to involve lots of pieces that span from the client to the server, and consequently I think what you are looking for will involve a fair amount of specific-to-your-application development and integration. 这个问题往往涉及从客户端到服务器的许多部分,因此,我认为您要寻找的内容将涉及大量针对您的应用程序的开发和集成。

您可以尝试ImageMagick ,它支持数百种图像格式,并且带有.NET包装器。

Have found exactly what i was looking for iLoad 完全找到了我正在寻找的iLoad

Does exactly what i asked and doesn't cost that much compared to other suggested solutions. 完全符合我的要求,与其他建议的解决方案相比,花费不那么多。 Haven't tried it yet but demo is impressive. 尚未尝试过,但演示非常出色。

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

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