Zappy Zhao
f1d4a27f94
Update the hex value for DarkSeaGreen color
Update the hex value for DarkSeaGreen color to 0xFF8FBC8F.
Based on W3 definition, the hex value for DarkSeaGreen color needs to be fixed:
https://www.w3.org/wiki/CSS/Properties/color/keywords
Fix issue: https://github.com/SixLabors/ImageSharp/issues/1015
7 years ago
Brian Popow
64bba4c7d0
Fix issue when reading data spreading over multiple IDAT chunks. Fixes issue #1014 .
7 years ago
Brian Popow
15c572126a
Add additional information about the climpLimit
7 years ago
Sheyne Anderson
9b3a420c5b
Fix StyleCop issues
7 years ago
Sheyne Anderson
0e8d6188f2
Allow inferring of some PngEncoderOptions
7 years ago
James Jackson-South
2ffe181c98
Fix up code and tests
7 years ago
Brian Popow
b6e0b62820
Change the default value of clipLimit
7 years ago
ip75
e947ce5c5a
remove hsl from comments
7 years ago
James Jackson-South
464598cb3f
Refactor cloning processors and tests
7 years ago
James Jackson-South
44692b0c1b
Remove protected.
7 years ago
James Jackson-South
b0ef8a10d1
reseal Image{TPixel}
7 years ago
ip75
5834a2e140
fix value ranges for lightness
7 years ago
James Jackson-South
1796862302
Make processors public, refactor cloning.
7 years ago
ip75
4c2ed503d6
change comment
7 years ago
James Jackson-South
f5c9814a00
Expose visitor through advanced namespace.
7 years ago
James Jackson-South
76708ef2d6
Refactor IImageProcessor
7 years ago
James Jackson-South
03ba4c6e77
Refactor Image.Dispose
7 years ago
Brian Popow
1bb93523a5
Change clipLimit to be an absolute value. Fixes issue #994
7 years ago
Xavier Cho
1eea497e74
Accept points instead of line segments as constructor argument
Note that this is a breaking change.
7 years ago
Turnerj
bec033603e
Fix horizontally out-of-bounds error when drawing text
7 years ago
Xavier Cho
6842408316
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
1314d001f2
Remove a redundant check for the paint boundary
7 years ago
ip75
695171725b
warnings-errors
7 years ago
ip75
dbf8868098
fix comments cosmetic warning-errors
7 years ago
Simon Cropp
99a74ebdc6
use SUPPORTS_EXTENDED_INTRINSICS to filter out some BasicIntrinsics256 methods
7 years ago
James Jackson-South
2ea69b4a75
Refactor helper to reduce code duplication
7 years ago
James Jackson-South
a3f39ee6d3
Fix #999 and add tests
7 years ago
Simon Cropp
b6fcda1dce
remove patternVector in patternBrush
7 years ago
James Jackson-South
ac9b1d0f97
Fix #997
7 years ago
James Jackson-South
19c7f178d1
Update dependencies and submodule
7 years ago
ip75
4697564541
image lightness filter
7 years ago
James Jackson-South
221000ed03
Clean up scanline decoding code.
7 years ago
James Jackson-South
a6fd96b7ca
Refactor helper to reduce code duplication
7 years ago
James Jackson-South
dbc5c76eb1
Fix #1004
7 years ago
James Jackson-South
0cc178d662
Fix #999 and add tests
7 years ago
James Jackson-South
5056744ebb
Fix #997
7 years ago
Xavier Cho
43d8241641
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
2ba3194151
Update dependencies and submodule
7 years ago
James Jackson-South
25daf98fa8
[SL.Core] Use shared source MathF and HashCode
7 years ago
James Jackson-South
68dca4fddb
[SL.Core] Update submodule and fix warnings.
7 years ago
Sergio Pedri
a79c203b48
Fixed XML docs for RgbaVector pixel type ( #992 )
7 years ago
Anton Firszov
278a79e500
[SL.Core] use shared .editorconfig and stylecop.json
7 years ago
Anton Firszov
29046532a2
[SL.Core] Standards -> SharedInfrastructure
7 years ago
Anton Firsov
9f93b09a11
Patch MemoryOwnerExtensions to fix #987
7 years ago
James Jackson-South
02d1f1b250
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
13989ac126
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
Simon Cropp
79f5ff5bd5
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
3013857bf9
Changed processing of border rows and columns to use the tile count and process only a maximum of tileCount - 1 tiles
7 years ago
Anton Firszov
56277c4735
[SL.Core] do not share internals across SixLabors projects
7 years ago
Anton Firszov
eb40549006
[SL.Core] use shared guards from standards
7 years ago