大型图像调整大小库
有谁知道有什么好的图像调整大小库可以处理调整大图像的大小(〜7573 x〜9485)。 速度快且不会占用太多内存的东西会很棒。 目前我正在使用 IrfanView,只是通过 shell 参数调用它,但我想找到更多集成到 .net 中的东西。
谢谢。
Does anyone know of any good image resizing libraries that will handling resizing large images(~7573 x ~9485). Something that is fast and doesn't chew to much memory would be great. At the moment I am using IrfanView and just shell invoking it with arguments but I would like to find something that integrates into .net a bit more.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
ImageMagick 一路走来。 它是一个代码库,几乎包含您可能想要执行的所有与图像相关的操作,在 C 中相当有效地实现。这包括各种类型的大小调整,包括插值(双线性、三线性、自适应等),而不是(只是抽取(采样) )或复制像素,您可以在应用程序中使用大量 API(语言绑定),包括 MagickNet
,不确定它是否与您想要做的事情相关,但我认为这是一篇非常酷的 SIGGRAPH 论文,所以这里是:ImageMagick 还支持他们所谓的“液体重新缩放”或接缝雕刻,这是此处中展示的一项技术,并讨论了该技术在 ImageMagick 中的实现和使用此处。
ImageMagick all the way. It's a codebase with nearly every image-related operation you could possibly want to do, implemented fairly efficiently in C. This includes various types of resizing, both interpolated (bilinear, trilinear, adaptive, etc.), and not (just decimating (sampling) or replicating pixels. There are a ton of APIs (language bindings) that you can use in your applications, including MagickNet.
Also, not sure if it's at all relevant to what you're trying to do, but I thought this was a pretty darn cool SIGGRAPH paper, so here goes: ImageMagick also supports what they call "liquid rescaling", or seam carving, a technique shown in this cool demo here, and whose implementation and use in ImageMagick is discussed here.
我过去使用过 ImageMagick - 请注意,您也必须从命令行调用它。 好消息是,它可以轻而易举地集成到您的项目中,而且它是一个非常强大的实用程序。
I've used ImageMagick in the past - note that you would have to invoke it from command line, too. The good news is that it's a breeze to integrate into your project, and it's a very powerful utility.
是的,我肯定会选择 ImageMagick。 如果我是你,我会尝试 http://midimick.com/magicknet/ ..
Yes, I'd go for ImageMagick definitely. I'd give http://midimick.com/magicknet/ a shot if I were you..
几年前,我在一个需要加载一些相对较大图像(12兆-像素图像)。 它的性能非常好(比 GDI+ 更好)并且 API 非常容易理解和开始使用。 我什至写了一个 .NET 包装器,我想我仍然把它放在某个地方,但我想现在一定有更好的 .NET 包装器/绑定。
A couple years ago I used FreeImage in a program that needed to load some relatively big images (12-mega-pixel images). It performed really well (waaaay better than GDI+) and the API is quite simple to understand and start using. I even wrote a .NET wrapper and I think I still have it laying around somewhere, but I suppose there must be better wrappers/bindings for .NET by now.