James Jackson-South
19c7f178d1
Update dependencies and submodule
7 years ago
James Jackson-South
fcf5d02f6b
Removed submodule
7 years ago
ip75
4697564541
image lightness filter
7 years ago
Anton Firsov
5c062116c8
Merge pull request #984 from brianpopow/feature/fixAdaptiveHistIssue
Fix adaptive histogram out of bounds bug
7 years ago
Anton Firszov
9ff4af6b0c
debug save the output for Issue984
7 years ago
Anton Firsov
ef9e7f3b15
Merge branch 'master' into feature/fixAdaptiveHistIssue
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
Brian Popow
d2c5a77f02
Merge branch 'master' into feature/fixAdaptiveHistIssue
7 years ago
Sergio Pedri
a79c203b48
Fixed XML docs for RgbaVector pixel type ( #992 )
7 years ago
James Jackson-South
0cda1741f9
Merge pull request #991 from SixLabors/af/patch-987
Patch MemoryOwnerExtensions to workaround #987
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
Brian Popow
ff37d79936
Merge branch 'master' into feature/fixAdaptiveHistIssue
7 years ago
Brian Popow
da9e849179
Add regression test for Issue984
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
d714b6e203
Merge remote-tracking branch 'upstream/master' into feature/fixAdaptiveHistIssue
# Conflicts:
# src/ImageSharp/Processing/Processors/Normalization/AdaptiveHistogramEqualizationProcessor{TPixel}.cs
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
Simon Cropp
e809d514fa
remove SteppedRange ( #980 )
7 years ago
Simon Cropp
52caddf0a4
remove some redundant usings ( #976 )
7 years ago
Anton Firsov
f90951755f
Merge pull request #982 from SimonCropp/cacheMaxInConvertToRgba
cache max in ConvertToRgba
7 years ago
Simon Cropp
8fc01b3af5
cache max value
7 years ago
Simon Cropp
08f1b08d5a
cache max in ConvertToRgba
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
Anton Firsov
6ab42ebc98
Merge pull request #975 from SimonCropp/avoidMultipleArrayLookup
aviod multiple array lookup
7 years ago
Anton Firsov
c9077ba04d
Merge branch 'master' into avoidMultipleArrayLookup
7 years ago
Anton Firsov
96a5c83c42
Merge pull request #974 from SimonCropp/redundantParallelOptions
remove redundant ParallelOptions
7 years ago
Brian Popow
26042ec82c
Add comment about when to use clipping
7 years ago
Anton Firsov
178f688501
Merge branch 'master' into redundantParallelOptions
7 years ago
Anton Firsov
ef4e150b1a
Merge pull request #973 from SimonCropp/redundantComment
redundant comment
7 years ago
Simon Cropp
a16c514846
aviod multiple array lookup
7 years ago
Simon Cropp
b1e42b6ad2
remove redundant ParallelOptions
7 years ago
Simon Cropp
e7693e7fdc
redundant comment
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
Brian Popow
726b6ab7c2
Remove unnecessary tileX and tileY declarations
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
Scott Williams
b238317521
Merge pull request #964 from 101100/fix-indexoutofrangeexception-in-fillregionprocessor
Fix IndexOutOfRangeException in FillRegionProcessor
7 years ago
James Jackson-South
bff44f9f1d
Merge branch 'master' into fix-indexoutofrangeexception-in-fillregionprocessor
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
724c26a50d
Add possible fix
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
Simon Cropp
16ed6173cb
use params where possible ( #961 )
* use params where possible
* use params
7 years ago
Simon Cropp
edeaf7d9a6
redundant usings ( #960 )
7 years ago
Simon Cropp
4a55496a11
fix "as" usage ( #959 )
7 years ago
Simon Cropp
2734847e2e
fix some spelling ( #957 )
* fix some spelling
* more typos
* more typos
* more typos
* more typos
* more typos
* linearSegment
7 years ago
Ildar
812ef6e4f2
#244 Add support for interlaced PNG encoding ( #955 )
* #244 Implement interlaced PNG encoding
* #244 Update documentations
* #244 Remove comment
* Cleanup
* Update PngEncoderCore.cs
7 years ago
Brian Popow
ff7d8760da
Add support for read and write tEXt, iTXt and zTXt chunks ( #951 )
* Add support for writing tEXt chunks
* Add support for reading zTXt chunks
* Add check, if keyword is valid
* Add support for reading iTXt chunks
* Add support for writing iTXt chunks
* Remove Test Decode_TextEncodingSetToUnicode_TextIsReadWithCorrectEncoding: Assertion is wrong, the correct keyword name is "Software"
* Add support for writing zTXt chunk
* Add an encoder Option to enable compression when the string is larger than a given threshold
* Moved uncompressing text into separate method
* Remove textEncoding option from png decoder options: the encoding is determined by the specification: https://www.w3.org/TR/PNG/#11zTXt
* Removed invalid compressed zTXt chunk from test image
* Revert accidentally committed changes to Sandbox Program.cs
* Review adjustments
* Using 1024 bytes as a limit when to compress text as recommended by the spec
* Fix inconsistent line endings
* Trim leading and trailing whitespace on png keywords
* Move some metadata related tests into GifMetaDataTests.cs
* Add test case for gif with large text
* Gif text metadata is now a list of strings
* Encoder writes each comment as a separate block
* Adjustment of the Tests to the recent changes
* Move comments to GifMetadata
* Move Png TextData to format PngMetaData
7 years ago