精华内容
下载资源
问答
  • Update ImageSharp

    2021-01-11 22:43:47
    <div><p>There is an issue with special chars in media urls <p>https://github.com/SixLabors/ImageSharp.Web/issues/10</p><p>该提问来源于开源项目:OrchardCMS/OrchardCore</p></div>
  • <ul><li>[x] Copy all contents of <em>SixLabors.Core</em> into the <em>SixLabors.ImageSharp</em> repository (test and product code)</li><li>[x] Create a new, 100% self-contained repository for ...
  • ImageSharp.Web

    2020-12-02 03:47:45
    <div><h3>Description <p>This issue is designed to capture the architecture and tasks required to build an extensible library for parsing URL API instructions and ...SixLabors/ImageSharp.Web</p></div>
  • Change Imagesharp to Magick

    2020-12-02 01:29:49
    <p>ImageSharp being Alpha isn't a big issue either since this code isn't by far done yet. So please chime in ;) <p>The use of ImageSharp package for image manipulation is concerning due to ...
  • <div><p>ImageSharp should be split into multiple projects so you only have to pay for what you need. <ul><li><strong>ImageSharp This would contain the Image classes, Colors, Primitives, Bootstrapper, ...
  • - <strong>ImageSharp.Formats</strong> - this is a helper project that just takes a dependency on the all the core formats and exposes a single helper method for registering all the formats into a ...
  • ImageSharp broken on .NET 5

    2021-01-11 18:13:14
    <div><p>https://github.com/SixLabors/ImageSharp/issues/1356 was raised as ImageSharp being broken on .NET 5 RC 1. <p>Although it is still not clear if this is an issue with dotnet/runtime or maybe ...
  • Support for "ImageSharp

    2020-12-29 07:44:08
    d suggest to add the support for <a href="https://github.com/SixLabors/ImageSharp">ImageSharp</a> as graphics interface. <p>I've been able to make it working, but that was because ...
  • SixLabors.ImageSharp ImageSharp是一个新的,功能齐全,完全托管的跨平台2D图形API。 ImageSharp是一个新的,功能齐全,完全托管的跨平台2D图形库。 为简化图像处理而设计的ImageSharp为您带来了功能强大而又精美...
  • <div><p>Bumps <a href="https://github.com/SixLabors/ImageSharp">SixLabors.ImageSharp</a> from 1.0.0-beta0007 to 1.0.2. Release notes <p><em>Sourced from <a href="https://github.com/SixLabors/...
  • 添加nuget引用SixLabors.ImageSharp 和SixLabors.ImageSharp.Drawing 暂时只实现了缩略图。。<pre>using SixLabors.ImageSharp;using SixLabors.ImageSharp.Formats;using SixLabors.ImageSharp.Processing ...

    添加nuget引用 SixLabors.ImageSharp 和SixLabors.ImageSharp.Drawing

    暂时只实现了缩略图。。
    <pre>using SixLabors.ImageSharp;
    using SixLabors.ImageSharp.Formats;
    using SixLabors.ImageSharp.Processing

    namespace Ace
    {
    public class ImageSharpHelper
    {
    /// 生成缩略图
    public static void Resize(byte[] imgdata,string outpath,int width,int height)
    {
    using (var image= Image.Load(imgdata))
    {
    image.Mutate(c=&gt;c.Resize(width,height));
    image.Save(outpath);
    }
    }

    //添加水印。。
    }
    }</pre>

    转载于:https://www.cnblogs.com/langhaoabcd/p/10446237.html

    展开全文
  • <div><p>I had to install a random old version<a href="https://www.myget.org/feed/imagesharp/package/nuget/ImageSharp/1.0.0-alpha-000201"> <code>1.0.0-alpha-000201</code></a> which is compatible....
  • ImageSharp.Textures 纹理加载和操作库。当前支持dds和ktx纹理的解码。 支持ktx版本2的工作正在进行中。
  • <div><p>Great to see the new ImageSharp version in <p>Will you be doing any perf tests against it again? <p>There are some logic changes that were made to ImageSharp that could, if we tweaked a ...
  • ve got imageSharp working nicely in dev, but when I tried previewing I was getting an imageSharp not found error. I fixed it in my component by switching to a normal <code><img></code> if the ...
  • and <code>OxyPlot.ImageSharp.PngExporter</code></li><li>Add rotated text support to <code>Oxyplot.ImageSharp</code></li><li>Makes <code>Oxyplot.ImageSharp</code> font sizes conform to 96DPI standard...
  • imageSharp { childImageSharp { fluid(maxWidth: 400, maxHeight: 250) { ...GatsbyImageSharpFluid } } } } } ... </code></pre> <p>When it runs, I get the error: <pre><code>Cannot query field &#...
  • t see and use ImageSharp.Drawing namespace and included members with VS 2017 <h3>Steps to Reproduce <p>1) Create new console .NET Core app in VS 2017 2) Go to Manage NuGet Packages 3) Add new package ...
  • <div><p>Part of Wayland development is that I create a Shared Memory Buffer that is being used between processes and I wanted to eliminate the amount of buffer copying between ImageSharp and Shared ...
  • <ul><li>[X] I have written a descriptive issue title</li><li>[X] I have verified that I am running the latest version of ImageSharp</li><li>[ ] I have verified if the problem exist in both <code>DEBUG...
  • <ul><li>[x] I have written a descriptive pull-request title</li><li>[x] I have verified that there are no overlapping <a href="https://github.com/JimBobSquarePants/ImageSharp/pulls">pull-requests</a> ...
  • 项目中需要对上传的图片进行裁切处理,发现之前的裁切方法不能跨平台使用了,于是乎找到了ImageSharp项目,项目地址https://github.com/SixLabors/ImageSharp,参考项目说明中的方法,很简单的几句话就完成了需求,...

    项目中需要对上传的图片进行裁切处理,发现之前的裁切方法不能跨平台使用了,于是乎找到了ImageSharp项目,项目地址https://github.com/SixLabors/ImageSharp,参考项目说明中的方法,很简单的几句话就完成了需求,感谢各位大牛做的的杰出贡献。

            #region 图片处理
    
            /// <summary>
            /// 裁切图片大小
            /// </summary>
            /// <param name="imagePath">图片路径</param>
            /// <param name="maxSize">裁切尺寸</param>
            /// <param name="isCreateNew">是否另存</param>
            public static void CutImage(string imagePath, int maxSize, bool isCreateNew = false)
            {
                using (Image<Rgba32> image = Image.Load(imagePath))
                {
                    if (isCreateNew == true)
                    {
                        imagePath = imagePath.Insert(imagePath.Length - 4, "_" + maxSize);
                    }
                    if (image.Width > image.Height)
                    {
                        if (image.Width > maxSize)
                        {
                            image.Mutate(x => x
                                 .Resize(maxSize, maxSize / image.Width * image.Height));
                            image.Save(imagePath);
                        }
                    }
                    else
                    {
                        if (image.Height > maxSize)
                        {
                            image.Mutate(x => x
                                 .Resize(maxSize / image.Height * image.Width, maxSize));
                            image.Save(imagePath);
                        }
                    }
                };
            }
    
            #endregion

     

    转载于:https://www.cnblogs.com/wangbg/p/10930074.html

    展开全文
  • 网上找了一堆全一样的blog,而且也比较老了,按他们的说法老是安装失败。...找到imagesharp地址https://www.myget.org/gallery/imagesharp-latency 下面有版本号,现在已经到1.01了,而且source地址也发生了变化...

    网上找了一堆全一样的blog,而且也比较老了,按他们的说法老是安装失败。

    我再修正下安装地址,以及如何安装。以为后面的人来用。

    .net core的文章还是太少,虽然没有多少时间,还是贡献下吧。

    找到imagesharp地址 https://www.myget.org/gallery/imagesharp-latency

    下面有版本号,现在已经到1.01了,而且source地址也发生了变化。

    https://www.myget.org/feed/imagesharp-latency/package/nuget/SixLabors.Core

    找到vs2017 管理nuget包,点下图右上角的设置图标,新增ImageSharp的程序包源,源地址可以从上图复制,地址:https://www.myget.org/F/imagesharp-latency/api/v3/index.json

    点击确认按钮。

    执行vs nuget命令:    Install-Package SixLabors.Core -Version 1.0.1

    安装成功。

     

    完成上面操作貌似还不能用。需要安装SixLabors.ImageSharp,找到github地址https://github.com/SixLabors/ImageSharp

    找到当前版本号,安装 Install-Package SixLabors.ImageSharp -Version 1.0.0-beta0006

    安装Install-Package SixLabors.ImageSharp.Drawing -Version 1.0.0-beta0006

    当前版本需要依赖System.Memory, nuget搜索安装即可。

    测试加载图片Image<Rgba32> image = Image.Load("8.png");  

    不报错了,完毕,其他功能大家自行百度。

     

    展开全文
  • <ul><li>[x] I have written a descriptive issue title</li><li>[x] I have verified that I am running the latest version of ImageSharp</li><li>[x] I have verified if the problem exist in both <code>DEBUG...
  • <p>Install ImageSharp.Web-master on a Mac. Start <em>Visual Studio</em> with <code>ImageSharp.Web.sln</code></p> <h3>Description <p>Build <em>ImageSharp.Web.Sample</em> (see ticket #53 on errors). Run...
  • <div><p>All the classes from Clipper.cs have been moved into there own folder/namespace. Added README.md to preserve the original Attribution. I've ported the code to...SixLabors/ImageSharp</p></div>
  • <ul><li>[x] I have written a descriptive issue title</li><li>[x] I have verified that I am running the latest version of ImageSharp</li><li>[x] I have verified if the problem exist in both <code>DEBUG...
  • <p>I use ImageSharp alpha7-00031 and ImageSharp.Drawing alpha7-00045 in my own UWP project. When I build it in Debug-Mode all is fine. When I build it in Release-Mode I get the following Error: <p>1&...
  • Message: ImageSharp.ImageFormatException : Unknown marker" when running following code <p><code>Stream imageStream = File.OpenRead("C:\\temp\\biggerimage.jpg"); using (var image =...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 751
精华内容 300
热门标签
关键字:

imagesharp