Skip to content

Error when processing image using FillProcessor #3

@collaorodrigo7

Description

@collaorodrigo7

I am having problems running FreetronicsDMS.
This is what I have done:

$dotnet "build" "/RaspberryPi.Libs/FreetronicsDMD/FreetronicsDMD.csproj"

And then:

$cd ./RaspberryPi.Libs/FreetronicsDMD/bin/Debug/netcoreapp2.0
$sudo dotnet FreetronicsDMD.dll  lib

And I am getting this error:

SixLabors.ImageSharp.ImageProcessingException: An error occured when processing the image using FillProcessor`1. See the inner exception for more detail. at SixLabors.ImageSharp.Processing.ImageProcessor`1.Apply(Image`1 source, Rectangle sourceRectangle) at SixLabors.ImageSharp.DefaultInternalImageProcessorContext`1.ApplyProcessor(IImageProcessor`1 processor, Rectangle rectangle) at SixLabors.ImageSharp.DefaultInternalImageProcessorContext`1.ApplyProcessor(IImageProcessor`1 processor) at SixLabors.ImageSharp.ImageExtensions.Fill[TPixel](IImageProcessingContext`1 source, IBrush`1 brush) at SixLabors.ImageSharp.ImageExtensions.Fill[TPixel](IImageProcessingContext`1 source, TPixel color) at RaspberryPi.PiGPIO.Drivers.Dede.FreetronicsDMDSurface.<>c__DisplayClass25_0.<Clear>b__0(IImageProcessingContext`1 updates) in /home/pi/Desktop/RaspberryPi.Libs/RaspberryPi.PiGPIO.Drivers.Drawings.ImageSharp/Dede/FreetronicsDMDSurface.cs:line 173 at SixLabors.ImageSharp.ImageExtensions.Mutate[TPixel](Image`1 source, Action`1 operation) at RaspberryPi.PiGPIO.Drivers.Dede.FreetronicsDMDSurface.UpdateSurface(Action`1 updates) in /home/pi/Desktop/RaspberryPi.Libs/RaspberryPi.PiGPIO.Drivers.Drawings.ImageSharp/Dede/FreetronicsDMDSurface.cs:line 114 at RaspberryPi.PiGPIO.Drivers.Dede.FreetronicsDMDSurface.Clear(Boolean value) in /home/pi/Desktop/RaspberryPi.Libs/RaspberryPi.PiGPIO.Drivers.Drawings.ImageSharp/Dede/FreetronicsDMDSurface.cs:line 171 at RaspberryPi.PiGPIO.Drivers.Dede.FreetronicsDMDSurface.Init(Boolean runThread) in /home/pi/Desktop/RaspberryPi.Libs/RaspberryPi.PiGPIO.Drivers.Drawings.ImageSharp/Dede/FreetronicsDMDSurface.cs:line 88 at RaspberryPi.PiGPIO.Drivers.Dede.FreetronicsDMDSurface.Init() in /home/pi/Desktop/RaspberryPi.Libs/RaspberryPi.PiGPIO.Drivers.Drawings.ImageSharp/Dede/FreetronicsDMDSurface.cs:line 81 at Dede.DMDTest.Program.Run(IPiGPIO gpio) in /home/pi/Desktop/RaspberryPi.Libs/FreetronicsDMD/Program.cs:line 113

Do you have any clue why would I be getting this?

I am running on a RPI 3, running Raspbian 10:

   $lsb_release -a
   No LSB modules are available.
   Distributor ID: Raspbian
   Description:    Raspbian GNU/Linux 10 (buster)
   Release:        10
   Codename:       buster

Dotnet version:

  $dotnet --version
  2.2.102

Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions