Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 10:13
    antonfirsov labeled #1515
  • 10:13
    antonfirsov milestoned #1515
  • 10:13
    antonfirsov unlabeled #1515
  • 10:13
    antonfirsov labeled #1515
  • 10:13
    antonfirsov opened #1515
  • 10:13
    antonfirsov labeled #1515
  • 08:35
    JimBobSquarePants commented #1513
  • 06:39
    saucecontrol commented #1513
  • 02:42
    JimBobSquarePants commented #1513
  • 01:39
    codecov[bot] commented #1490
  • 01:39
    codecov[bot] commented #1271
  • 01:25
    codecov[bot] commented #1456
  • 01:25
    JimBobSquarePants synchronize #1456
  • 01:25

    JimBobSquarePants on tiff-format

    cleanup Update shared-infrastructure Merge pull request #1479 from S… and 33 more (compare)

  • 01:24
    JimBobSquarePants commented #1441
  • 01:23
    codecov[bot] commented #1271
  • 01:23
    codecov[bot] commented #1271
  • 01:22
    JimBobSquarePants synchronize #1271
  • 01:22

    JimBobSquarePants on webp

    Add initial vectorized implemen… Fix mistakes in final touches Add unit tests for both convert… and 13 more (compare)

  • 01:22

    JimBobSquarePants on future-targets

    (compare)

zimpzon
@zimpzon
(moving this question to github)
mrunixus
@mrunixus
Hi, I am new to imageSharp, I am trying to get the G channel from an RGB image, the library have an specific method for that matter? Regards,
to extract one of the channels information?
Tanner Gooding
@tannergooding
The gitter channel is being closed (this coming friday) in favor of GitHub Discussions: https://github.com/sixlabors/imagesharp/discussions
You might try there instead
mrunixus
@mrunixus
Thanks!
Devedse
@devedse
:) discussions actually looks nice
Matt Painter
@nullpainter
Hi all! Is there a way to apply a colour tint to an image in ImageSharp?
Oh, maybe I should ask this in discussions :)
Tanner Gooding
@tannergooding
Yep, this channel should be going away in about 5-24 hours (depending on if James meant Midnight or not)
Discussions is the goto thing moving forward: https://github.com/sixlabors/imagesharp/discussions
James Jackson-South
@JimBobSquarePants
Can’t make the thing readonly sadly and don’t want to delete it.
nixcamic
@nixcamic
Hey is there any easy way to get per channel luminance data with imagesharp

With Magick.net I used

Statistics stats = image.Statistics();
double red = stats.GetChannel(PixelChannel.Red).Mean;

Gordon D
@tekguy
Hello -- I am using ImageSharp.Web, I setup a custom ImageProvider and Resolver (used Azure storage plugin as an example). Everything works great, but it's always downloading from the source (via ImageProvider) everytime, I have disk caching setup, how can I fine tune caching for this custom image provider?
James Jackson-South
@JimBobSquarePants
Could you please bring this to the discussions channel in the repo? Thanks!
Gordon D
@tekguy
Thanks @JimBobSquarePants will do I didn't know about this feature!
Gordon D
@tekguy
I created the discussion at https://github.com/SixLabors/ImageSharp.Web/discussions/104 thank you!
Mike Vargas
@vargonian
When iterating through an image's pixels using GetPixelRowSpan, does y == 0 equal the top row of the image or the bottom?
I assume top, I was just seeing some weird results which I think I've found the cause of.
Anton Firszov
@antonfirsov
@vargonian yeah, it's the top, please open a discussion if there are remaining questions left.
Nelly(Qiwen) Lyu
@qlyu001
Hi Does imagesharp contains a library for cropping out a polygon? I checked the documentation, it only mentioned rectangle
Huw Simpson
@huwmanatee
Hi everyone.
I used to use SixLabors.ImageSharp.Processing.Processors.Convolution.SobelProcessor pre V1, it seems to have bee removed or renamed.
James Jackson-South
@JimBobSquarePants
Hi everyone please use the discussions forum in the GitHub repository for questions. This channel is not used any more and has been left for historical purposes only. Thanks!
Tekkharibo
@Tekkharibo_gitlab
Hi I want to convert jpeg image color profile from RGB to CMYK with imagesharp and I don't find how to on google or github example, can you help me to make it ?
Anton Firszov
@antonfirsov
@Tekkharibo_gitlab can you open a discussion please?
https://github.com/SixLabors/ImageSharp/discussions
Luna Lamb
@Veriara
Is this the right place to ask questions?
Matthias Koch
@matkoch
github discussion
Zoltán Lehóczky
@Piedone
Anybody interested in consulting for ImageSharp hardware acceleration? https://github.com/SixLabors/ImageSharp/discussions/1352
Eightvo
@Eightvo
After updating from 1.0 to 1.1 i get exception:
The type 'Image<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'SixLabors.ImageSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
Does that type no longer exist?
Brian Popow
@brianpopow
@Eightvo there is no 1.1 version, 1.0.1 is the latest version. Please use github discussions for questions.
MaxSwank
@MaxSwank
Hi, I can't seem to find a really basic Imagesharp overlay example combining 2 images , specifically a transparent png on top of a jpg of the same size. Anyone have an example?
James Jackson-South
@JimBobSquarePants
Hi, this channel is not used anymore. Please visit https://github.com/SixLabors/ImageSharp/discussions?discussions_q=category%3AQ%26A
for questions
KHALED LAKEHAL
@KHALED-LAKEHAL
hello how fix this
Exception:Thrown: "Could not load file or assembly 'System.Linq, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Le fichier spécifié est introuvable." (System.IO.FileNotFoundException)
A System.IO.FileNotFoundException was thrown: "Could not load file or assembly 'System.Linq, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Le fichier spécifié est introuvable."
Time: 12-01-2021 18:36:29
Thread:Main Thread[7608]
when use this code the exception in SixLabors.ImageSharp.Image image = SixLabors.ImageSharp.Image.Load(inStream)
using (MemoryStream inStream = new MemoryStream(data))
using (MemoryStream outStream = new MemoryStream())
using (SixLabors.ImageSharp.Image image = SixLabors.ImageSharp.Image.Load(inStream))
{
    IImageEncoder format;
    ImageFormat imageFormat = data.GetImageFormat();
    image.Mutate(x => x.Resize(new ResizeOptions()
    {
        Mode = ResizeMode.Crop,
        Size = new SixLabors.ImageSharp.Size(width, height),
        Position = AnchorPositionMode.Center
    }));
    image.Save(outStream, format);
    outStream.Position = 0;
    return outStream.ToArray();
}
Tieson Trowbridge
@tiesont
@KHALED-LAKEHAL As has been noted many times, use either Stack Overflow or https://github.com/SixLabors/ImageSharp/discussions?discussions_q=category%3AQ%26A for questions - this Gitter channel is only left open for historical purposes.
snify
@snify
Hello
guys, how can I know if ImageSharp is using SSE4/AVX2 and all optimizations?
is there a flag for that?
Peter Amrehn
@jongleur1983
as far as I know it should use that when it's supported by the .net runtime and hardware, but for more please ask on StackOverflow or https://github.com/SixLabors/ImageSharp/discussions?discussions_q=category%3AQ%26A - this channel exists only for historical reasons
snify
@snify
so it's automatic?
Peter Amrehn
@jongleur1983
as far as I know yes.
but not sure, ask on github, please
snify
@snify
ok, another thing
how can I add those environment variables?
I use ImageSharp.Web
Peter Amrehn
@jongleur1983

As has been noted many times, use either Stack Overflow or https://github.com/SixLabors/ImageSharp/discussions?discussions_q=category%3AQ%26A for questions - this Gitter channel is only left open for historical purposes.

I'm accidently still in this channel, but it's not a support channel "officially" supported by the ImageSharp team

snify
@snify
ook
Brian Popow
@brianpopow
@richardmountain please use github discussions for questions: https://github.com/SixLabors/ImageSharp/discussions