Xavier Cho
7e06b63420
Accept points instead of line segments as constructor argument
Note that this is a breaking change.
7 years ago
Xavier Cho
b9d6a14af6
Ignore invalid gradient positions rather than throwing an error
There can be such cases where it fails to find intersection points for
a given position, especially when the polygon is small.
Such an input would result in an error previously, but now it renders
correctly.
7 years ago
Xavier Cho
75209ca205
Remove a redundant check for the paint boundary
7 years ago
James Jackson-South
41643d31a4
Merge pull request #1005 from SixLabors/issue/1004
Fix #1004
7 years ago
James Jackson-South
e89c1ef3d4
Clean up scanline decoding code.
7 years ago
Anton Firsov
fce88ddaa6
Merge branch 'master' into issue/1004
7 years ago
Anton Firsov
9eb03a49a9
Merge pull request #1003 from SixLabors/issue/999
Fix #999 and add tests
7 years ago
James Jackson-South
dd5085f0ea
Merge branch 'master' into issue/999
7 years ago
James Jackson-South
855e75f674
Refactor helper to reduce code duplication
7 years ago
Anton Firsov
3a834b5e08
Merge branch 'master' into issue/1004
7 years ago
Anton Firsov
83c3ff7a13
Merge pull request #981 from SimonCropp/useSUPPORTS_EXTENDED_INTRINSICS
use SUPPORTS_EXTENDED_INTRINSICS to filter out some BasicIntrinsics25…
7 years ago
James Jackson-South
cf0bb2540f
Fix #1004
7 years ago
James Jackson-South
54aea38d78
revert preenumeration rule
7 years ago
James Jackson-South
2a5dd6bc76
Fix #999 and add tests
7 years ago
James Jackson-South
22e17cb792
Merge pull request #1001 from SixLabors/issue/997
Fix RGB to HSL conversion
7 years ago
James Jackson-South
dfc20b4ccb
Merge branch 'master' into issue/997
7 years ago
James Jackson-South
f07ead2544
Merge pull request #977 from SimonCropp/patternVectorNotUsed
remove patternVector in patternBrush
7 years ago
James Jackson-South
34c5b5a16c
Fix #997
7 years ago
James Jackson-South
b3fddb7cfa
Merge pull request #993 from SixLabors/js/update-submodule
Beta7
7 years ago
Anton Firsov
cd3fb74096
Merge branch 'master' into js/update-submodule
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
cca018dd0c
delete GuardTests
7 years ago
Anton Firszov
d116a80937
Merge branch 'feature/fixAdaptiveHistIssue' into js/update-submodule
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
James Jackson-South
f24169110e
Update dependencies and submodule
7 years ago
James Jackson-South
7b6d5862ef
Removed submodule
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
Anton Firsov
b7f5c6ac0e
Merge branch 'master' into patternVectorNotUsed
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
ccd23cfadd
use SUPPORTS_EXTENDED_INTRINSICS to filter out some BasicIntrinsics256 methods
7 years ago
Simon Cropp
c1ab6b1885
remove patternVector in patternBrush
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