ip75
4e7ec9b256
fix comments cosmetic warning-errors
7 years ago
Simon Cropp
d5b44cc8b5
use SUPPORTS_EXTENDED_INTRINSICS to filter out some BasicIntrinsics256 methods
7 years ago
James Jackson-South
6e5ec35a15
Refactor helper to reduce code duplication
7 years ago
James Jackson-South
ee8ea55e31
revert preenumeration rule
7 years ago
James Jackson-South
cab9d4d76b
Fix #999 and add tests
7 years ago
Simon Cropp
74a1823d62
remove patternVector in patternBrush
7 years ago
James Jackson-South
58eb198468
Fix #997
7 years ago
Anton Firszov
895d51559a
delete GuardTests
7 years ago
James Jackson-South
c48fa803ae
Update dependencies and submodule
7 years ago
James Jackson-South
6998f96806
Removed submodule
7 years ago
ip75
08f3912752
image lightness filter
7 years ago
Anton Firsov
65dafeda50
Merge pull request #984 from brianpopow/feature/fixAdaptiveHistIssue
Fix adaptive histogram out of bounds bug
7 years ago
Anton Firszov
1845f5e142
debug save the output for Issue984
7 years ago
Anton Firsov
d2effb15bd
Merge branch 'master' into feature/fixAdaptiveHistIssue
7 years ago
Xavier Cho
da44dcf1f3
Implement gradient brush similar to PathGradientBrush ( #969 ) ( #989 )
* Implement gradient brush similar to PathGradientBrush (#969 )
A gradient brush implementation that works similar to
System.Drawing.Drawing2D.PathGradientBrush.
This fixes #969 , but only convex paths are supported for now.
* Update submodule to add test fixtures for #989
* Performance optimization
Use LengthSquared() instead of Length() when it's possible.
Avoid unnecessary ordering of elements.
* Avoid using LINQ in a hotspot
* Validate arguments for the public constructor
7 years ago
Brian Popow
4a106f2774
Merge branch 'master' into feature/fixAdaptiveHistIssue
7 years ago
Sergio Pedri
65075e3199
Fixed XML docs for RgbaVector pixel type ( #992 )
7 years ago
James Jackson-South
34c519aada
Merge pull request #991 from SixLabors/af/patch-987
Patch MemoryOwnerExtensions to workaround #987
7 years ago
Anton Firsov
7660009f31
Patch MemoryOwnerExtensions to fix #987
7 years ago
James Jackson-South
b173a70a00
Implement IDisposable in IImageProcessor<TPixel> instances. ( #990 )
* Implement IDisposable and ensure inheritance calls base
* add ImageProcessingContextTests and move some other test classes
* loosen up tests and leave TODO notes
7 years ago
Sergio Pedri
f25c68304d
Processors refactoring ( #983 )
* Added new properties to ImageProcessor<TPixel>
* Fixed constructors for convolution processors
* Fixed constructors for binarization processors
* Fixed constructor for dithering processor
* Fixed constructors for effects processors
* Fixed constructor for filter processor
* Fixed constructor for normalization processor
* Fixed constructors for overlay processors
* Fixed constructor for quantization processor
* Fixed constructors for transforms processors
* Updated CreatePixelSpecificProcessor<TPixel> definition
* Fixed convolution processors creation
* Fixed leftover dithering processor constructor
* Fixed another leftover dithering processor constructor
* Fixed dithering processors creation
* Fixed effects processors creation
* Fixed filters processor
* Fixed normalization processors creation
* Fixed overlays processors creation
* Fixed quantizer processor creation
* Fixed constructors for some remaining processors
* Fixed transform processors creation
* ImageProcessor class refactored
* Renamed some parameters
* Convolution processors refactored
* Refactored filters and dithering processors
* Refactored normalization processors
* Overlays processors refactored
* Renamed some parameters
* CloningImageProcessor class refactored
* Transforms processors refactored
* Updated DefaultImageProcessingContext class
* Src builds, tests still require updating.
* Fix tests
* Removed unnecessary local variable
7 years ago
Brian Popow
af2d2a50d8
Merge branch 'master' into feature/fixAdaptiveHistIssue
7 years ago
Brian Popow
d15022007f
Add regression test for Issue984
7 years ago
Simon Cropp
899d1179a7
remove some redundant constructor overloads from exceptions ( #979 )
* remove some redundant constructor overloads from exceptions
* re add ImageProcessingException ctor
only used in release
7 years ago
Brian Popow
3990da42fa
Merge remote-tracking branch 'upstream/master' into feature/fixAdaptiveHistIssue
# Conflicts:
# src/ImageSharp/Processing/Processors/Normalization/AdaptiveHistogramEqualizationProcessor{TPixel}.cs
7 years ago
Brian Popow
84fc4320e7
Changed processing of border rows and columns to use the tile count and process only a maximum of tileCount - 1 tiles
7 years ago
Simon Cropp
8bbb9e0466
remove SteppedRange ( #980 )
7 years ago
Simon Cropp
fd6a03af15
remove some redundant usings ( #976 )
7 years ago
Anton Firsov
fcc53c2b5f
Merge pull request #982 from SimonCropp/cacheMaxInConvertToRgba
cache max in ConvertToRgba
7 years ago
Simon Cropp
c4d6466e65
cache max value
7 years ago
Simon Cropp
f7819ae340
cache max in ConvertToRgba
7 years ago
Simon Cropp
bcbd4726a6
use var where apparent ( #972 )
* use var where apparent
* use var where apparent
* should use Rgb24
7 years ago
Anton Firsov
232ac64519
Merge pull request #975 from SimonCropp/avoidMultipleArrayLookup
aviod multiple array lookup
7 years ago
Anton Firsov
3bcea7bc8f
Merge branch 'master' into avoidMultipleArrayLookup
7 years ago
Anton Firsov
45f0a14d7a
Merge pull request #974 from SimonCropp/redundantParallelOptions
remove redundant ParallelOptions
7 years ago
Brian Popow
76e7b3dbaa
Add comment about when to use clipping
7 years ago
Anton Firsov
6b5dfbe13e
Merge branch 'master' into redundantParallelOptions
7 years ago
Anton Firsov
7b3123385b
Merge pull request #973 from SimonCropp/redundantComment
redundant comment
7 years ago
Simon Cropp
e4e8205807
aviod multiple array lookup
7 years ago
Simon Cropp
f63348d69a
remove redundant ParallelOptions
7 years ago
Simon Cropp
f2ea1c2f87
redundant comment
7 years ago
Simon Cropp
e23d8df485
remove some redundant variables and type params ( #971 )
* remove redundant variable init
* redundant variables
* remove redundant tileY variable
* remove redundant sum variable
* redundant mcu variable
* redundant type params
* Revert "remove redundant sum variable"
This reverts commit 21de86c82f .
7 years ago
Brian Popow
b044fa95a7
Remove unnecessary tileX and tileY declarations
7 years ago
Anton Firsov
c992db17fe
Throw ObjectDisposedException when trying to operate on a disposed image ( #968 )
* disable multitargeting + TreatWarningsAsErrors to for fast development
* Check if image is disposed
in significant Image and Image<T> methods
* Mutate / Clone: ensure image is not disposed
* Revert "disable multitargeting + TreatWarningsAsErrors to for fast development"
This reverts commit 9ad74f76f6 .
7 years ago
Simon Cropp
270a073fc6
Cleanup ( #965 )
* redundant ()
* redundant stirng interpolation
* use method groups
* redundant unsafe
* redundant qualifiers
* redundant ()
* redundant init
* redundant init
* redundant casts
* redundant casts
7 years ago
Scott Williams
e2434941da
Merge pull request #964 from 101100/fix-indexoutofrangeexception-in-fillregionprocessor
Fix IndexOutOfRangeException in FillRegionProcessor
7 years ago
James Jackson-South
a5f0d68bbf
Merge branch 'master' into fix-indexoutofrangeexception-in-fillregionprocessor
7 years ago
Simon Cropp
30804cfefd
remove unused variables and methods ( #963 )
* remove unused variables and methods
* remove some redundant variables
* remove some redundant variables
* redundant variables
* Update DrawTextOnImageTests.cs
* Minor optimizations
* cleanup
7 years ago
Jason Heard
ba07fc22ba
Add possible fix
7 years ago
Jason Heard
4f65fd1d1e
Add test from issue #928
7 years ago