Skip to content

rasberry/ImageFunctions

Repository files navigation

Image Functions

A collection of various image processing functions

Pages

Commands

  • run project
    • dotnet run --project src --
  • test project
    • dotnet test
    • dotnet test -l "console;verbosity=detailed" --filter "TestZoomBlur"
  • build wiki
    • dotnet run --project Writer

Notes

  • find out which images tests are using
    #!/bin/bash
    function allNames {
    	grep -iIrh --include \*.cs -A 2 'GetImageNames' | \
    	grep -iPo 'new string\[\].*' | \
    	awk -F '[, ]'  '{for (i = 4; i <= NF - 1; i++) {printf "%s\n", $i};}' | \
    	tr -d '"'
    
    	ls ./Resources/images | \
    	awk -F '.' '{print $1}'
    }
    allNames | sort | uniq -ic | sort

TODO

= move imagemagick to it's own plugin (to expose more imagemagick stuff)
= opencv (emgucv) plugin ?
= create a gimp plugin
= add more tests
= add coverage report
= change canvas to another color space (edit in another color space)
= string art - https://www.youtube.com/watch?v=WGccIFf6MF8

Issues

GUI

= canceling the save dialog crashes
  = also rename to "save images" intead of "open images"
= some function job are not finishing
= function deform has two point pickers..
  = one is suppsed to propotional, not pixel based
  = also probableimg
= make usage description stand out a little - maybe a border under the text ?
= consider breaking up MainWindowViewModel .. it's getting a bit big
= maybe use https://docs.avaloniaui.net/docs/concepts/reactiveui/data-persistence instead of custom options persistance
= add button to copy full command to clipboard
= review public classes / interfaces to see if they should be internal
= add docs to all public classes / methods, etc..
= when removing the last layer, the down button does not gray out on the (now) last item

X maybe capture log messages - probably need to create a log provider
  = maybe this ? https://learn.microsoft.com/en-us/dotnet/core/extensions/logging?tabs=command-line
  = tried https://learn.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator
  = but was too inflexible. not sure how to share messages between logs and exceptions
X maybe remove the Debug method from Log and switch to using Trace.Writeline instead
  = sounds like trace is soft-deprecated - https://learn.microsoft.com/en-us/dotnet/core/diagnostics/logging-tracing

About

A collection of various image processing functions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published