Anton Firszov
2ca0a42301
[SL.Core] harmonize Guard + DebugGuard code and tests
7 years ago
Anton Firszov
5f44c39d07
[SL.Core] Extend Guard and DebugGuard
7 years ago
Simon Cropp
8bbb9e0466
remove SteppedRange ( #980 )
7 years ago
Simon Cropp
fd6a03af15
remove some redundant usings ( #976 )
7 years ago
Sergio Pedri
ffccac500d
Merge pull request #8 from SixLabors/master
Changes from master
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
6af3a38cfa
ExifTagDescriptionAttribute doesnt need fields
since the reflection is done on the constructor arguments
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
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
James Jackson-South
f5bc76d580
[SL.Core] Merge pull request SixLabors/Core#31 from SixLabors/upgrade-stylecop
Upgrade stylecop
7 years ago
Jason Heard
ba07fc22ba
Add possible fix
7 years ago
Jason Heard
4f65fd1d1e
Add test from issue #928
7 years ago
Jason Heard
8f8a6a72d1
Add test illustrating issue
7 years ago
Simon Cropp
c2555b6199
fix some spelling ( #962 )
7 years ago
Simon Cropp
48af792c14
use params where possible ( #961 )
* use params where possible
* use params
7 years ago
Simon Cropp
2c04d6b036
redundant usings ( #960 )
7 years ago
James Jackson-South
ca664889fa
[SL.Core] Merge branch 'master' into upgrade-stylecop
7 years ago
Simon Cropp
a72e7fdb88
fix "as" usage ( #959 )
7 years ago
Simon Cropp
aa6d2ab997
fix some spelling ( #957 )
* fix some spelling
* more typos
* more typos
* more typos
* more typos
* more typos
* linearSegment
7 years ago
Dirk Lemstra
13ae8e0559
[SL.Core] Merge pull request SixLabors/Core#30 from Mertsch/master
Remove typo in NuGet package description
7 years ago
Dirk Lemstra
c9a1c0156e
[SL.Core] Added LangVersion to the unit test project.
7 years ago
Dirk Lemstra
e827127e52
[SL.Core] Silence warning.
7 years ago
Dirk Lemstra
61386b569b
[SL.Core] Fixed StyleCop issues.
7 years ago
Dirk Lemstra
e98091cc37
[SL.Core] Use Assert.Contains instead.
7 years ago
Dirk Lemstra
6ec4f77f22
[SL.Core] Correct the Assert.Equals order.
7 years ago
Dirk Lemstra
3881583dc7
[SL.Core] Ignore StyleCop rules that demand a certain order.
7 years ago
Dirk Lemstra
35561ccca4
[SL.Core] Fixed new StyleCop issues.
7 years ago
Dirk Lemstra
bb4c185b42
[SL.Core] Upgraded StyleCop.
7 years ago
Ildar
5aec0d8fe9
#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
d9925234a4
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
Simon Cropp
3f571687a6
remove duplicate props from csproj
7 years ago