Giter VIP home page Giter VIP logo

phototoolsdotnet's Introduction

PhotoTools.Net

Tools for processing photos.

.NET build Coverage Status Codacy Badge

Lines of Code Reliability Rating Security Rating Maintainability Rating

Bugs Vulnerabilities Code Smells Technical Debt

Building

  • Dependencies on Linux: sudo apt install libc6-dev libgdiplus
  • Dependencies on Mac: brew install mono-libgdiplus
    • sudo ln -s /opt/homebrew/opt/mono-libgdiplus/lib/libgdiplus.dylib /usr/local/lib/ might also be needed
  • Build: dotnet build -c release

Testing

  • Run tests: dotnet test -c release

phototoolsdotnet's People

Contributors

hajduakos avatar

Watchers

 avatar

phototoolsdotnet's Issues

Port transformation filters

  • CropFilter.cs
  • FlipHorizontalFilter.cs
  • FlipVerticalFilter.cs
  • ResizeFilter.cs
  • Rotate180Filter.cs
  • RotateFilter.cs
  • RotateLeftFilter.cs
  • RotateRightFilter.cs

Port border filters

  • FadeBorderFilter.cs
  • JitterBorderFilter.cs
  • PatternBorderFilter.cs
  • SimpleBorderFilter.cs
  • VignetteFilter.cs

Blend image with itself

When both arguments point to the same Bitmap object in PerPixelBlendBase, an exception is thrown (System.InvalidOperationException : Bitmap region is already locked.) because we try to lock the same Bitmap twice. An easy fix would be to detect this and do a clone.

Port adjustment filters

  • AutoLevelsFilter.cs
  • BrightnessFilter.cs
  • ColorHSLFilter.cs
  • ColorRGBFilter.cs
  • ContrastFilter.cs
  • GammaFilter.cs
  • LevelsFilter.cs
  • ShadowsHighlightsFilter.cs

Tests for blend modes

Currently there are no separate unit tests for blend modes, they are only indirectly tested through filters that use them.

Port other filters

  • ConvertToPolarFilter.cs
  • ConvolutionFilter.cs
  • EquirectangularToStereographicFilter.cs
  • RedEyeRemovalFilter.cs
  • TvScanLinesFilter.cs
  • WavesFilter.cs

Box downscaling

Create a downscale-only resize that averages pixels to get the new one.

Port blending

  • ColorDodgeBlend.cs
  • LightenBlend.cs
  • MultiplyBlend.cs
  • NormalBlend.cs
  • ScreenBlend.cs

Port color filters

  • GradientMapFilter.cs
  • GrayscaleFilter.cs
  • InvertFilter.cs
  • OrtonFilter.cs
  • PosterizeFilter.cs
  • SepiaFilter.cs
  • TresholdFilter.cs
  • VintageFilter.cs

Port dither filters

  • BayerDitherFilter.cs
  • FloydSteinbergDitherFilter.cs
  • JarvisJudiceNinkeDitherFilter.cs
  • RandomDitherColorFilter.cs
  • RandomDitherGrayscaleFilter.cs
  • SierraDitherFilter.cs

Port blur filters

  • BlurFilter.cs
  • BoxBlurFilter.cs
  • GaussianBlurFilter.cs
  • MotionBlurFilter.cs

Relative/absolute parameter

Filters (such as resize, border, crop, ...) would need a type, which can express parameters both relative (%) and absolute (px).

Port artistic filters

  • AdaptiveTresholdColorFilter.cs
  • AdaptiveTresholdFilter.cs
  • OilPaintFilter.cs
  • RandomJitterFilter.cs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.