Brian Popow
b1e8202c28
Add tests for bmp and tga header to throw UnknownImageFormatException when there is insufficient data
6 years ago
Brian Popow
45a6a6bde8
Using tolerant comparer for 16 and 8 bit
6 years ago
Anton Firszov
7c45f467d5
expose ParallelExecutionSettings and ParallelHelper, fix MaxDegreeOfParallelism
6 years ago
Anton Firszov
1993facee2
expose limited Buffer2D internals, smplify API surface
6 years ago
Brian Popow
ca6dcb30cf
Set expected default configuration count to 5
6 years ago
Brian Popow
d4b758754a
Add CompareToOriginal at the end of Issue1014 test
6 years ago
Brian Popow
f8854c7503
Add test for the tga encoder
6 years ago
Brian Popow
28222b5c18
Add support for encoding rle 8, 16 and bit tga images
6 years ago
Brian Popow
b4a8778267
Add support for images with top left origin
6 years ago
Brian Popow
6fda29b271
Add tests for topleft origin
6 years ago
Brian Popow
391cb445f2
Change test images, add additional tests
6 years ago
Brian Popow
5037380cce
Add RLE test images
6 years ago
Brian Popow
2e1a6ff65e
Add tga decoder tests
6 years ago
Brian Popow
fdab536376
Add unit test for issue #1014
6 years ago
James Jackson-South
2ffe181c98
Fix up code and tests
6 years ago
Brian Popow
a73dca0c65
Change test images for Issue984 to be non transparent
6 years ago
Brian Popow
b6e0b62820
Change the default value of clipLimit
6 years ago
ip75
48903b17ad
fix test values
6 years ago
ip75
4a397dc3eb
Filters test
6 years ago
James Jackson-South
464598cb3f
Refactor cloning processors and tests
6 years ago
James Jackson-South
1796862302
Make processors public, refactor cloning.
6 years ago
ip75
8957c9c19c
Value 1.5 must be greater than or equal to 0 and less than or equal to 1
6 years ago
ip75
28c6776884
LightnessTest
6 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
026ae45799
Use local CreateFont method
7 years ago
Turnerj
ea7cc57823
Updated font used for test
7 years ago
Turnerj
bec033603e
Fix horizontally out-of-bounds error when drawing text
7 years ago
James Jackson-South
f23030e14a
revert preenumeration rule
7 years ago
James Jackson-South
a3f39ee6d3
Fix #999 and add tests
7 years ago
James Jackson-South
ac9b1d0f97
Fix #997
7 years ago
Anton Firszov
33f319a669
delete GuardTests
7 years ago
James Jackson-South
dbc5c76eb1
Fix #1004
7 years ago
James Jackson-South
4edf86ff30
revert preenumeration rule
7 years ago
James Jackson-South
0cc178d662
Fix #999 and add tests
7 years ago
James Jackson-South
5056744ebb
Fix #997
7 years ago
Anton Firszov
ba3bd56c2c
delete GuardTests
7 years ago
Anton Firszov
9ff4af6b0c
debug save the output for Issue984
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
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
Brian Popow
da9e849179
Add regression test for Issue984
7 years ago
Simon Cropp
52caddf0a4
remove some redundant usings ( #976 )
7 years ago
Simon Cropp
564348631f
use var where apparent ( #972 )
* use var where apparent
* use var where apparent
* should use Rgb24
7 years ago
Simon Cropp
f115c160fc
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
Anton Firsov
29099949ca
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
6f1134102c
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
Simon Cropp
fb033fe0b6
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
f2b090ab5f
Add test from issue #928
7 years ago
Jason Heard
83890e6c41
Add test illustrating issue
7 years ago
Simon Cropp
aac8eae64a
fix some spelling ( #962 )
7 years ago