James Jackson-South
bc1dde64c8
Update options helper to use switch and complete tests
6 years ago
Brian Popow
d17eb1df6d
Rename method names again to be the same as in the reference implementation
6 years ago
Brian Popow
51230a776f
Change WithTestPatternImageAttribute to WithTestPatternImagesAttribute
6 years ago
Brian Popow
f60bc937de
Use using declarations to reduce nesting
6 years ago
Brian Popow
7b052c8076
Fix stylecop warnings in the test project
6 years ago
Anton Firszov
9c279dcd1b
when running tests in 32 bits, enforce 32bit execution of RemoteExecutor.exe
6 years ago
Anton Firszov
7723adfb19
workaround RemoteExecutor assembly redirect issue on 472,
run BokehBlurTests in separate process
6 years ago
Anton Firszov
967e4eabb1
use RemoteExecutor in JpegDecoderTests
6 years ago
James Jackson-South
c24b364be1
Merge namespaces
6 years ago
James Jackson-South
ed53c82899
Restore CI variable and skip troublesome tests
6 years ago
James Jackson-South
d4af87b88f
Update PngEncoderTests.cs
6 years ago
James Jackson-South
9a42d54767
Add test images
6 years ago
James Jackson-South
fa1e1c5b91
MetaData => Metadata code.
7 years ago
James Jackson-South
6bc6afb3e7
MetaData => Metadata
7 years ago
James Jackson-South
dfd2b641d5
Simplify format specific metadata retrieval.
7 years ago
James Jackson-South
895c7f584b
Gray16 => L16
7 years ago
James Jackson-South
a35b73245a
Gray8 => L8
7 years ago
James Jackson-South
0acf4f979c
Alpha8 => A8
7 years ago
James Jackson-South
61ea5e8627
Add tests and fix for handling invalid input.
7 years ago
James Jackson-South
3a9dfdf8b7
Allow returning the image format with the info.
7 years ago
James Jackson-South
ff136cd8ad
Compare image on windows only for now.
7 years ago
James Jackson-South
dc090c23ec
Fix #1047
7 years ago
James Jackson-South
9e232fe57a
Improve code coverage.
7 years ago
Brian Popow
8b0eaf8dfd
Code review changes
7 years ago
Brian Popow
7db0caaedd
Throw ImageFormatException when width or height is 0
7 years ago
Brian Popow
862018228d
Add tests for bmp and tga header to throw UnknownImageFormatException when there is insufficient data
7 years ago
Brian Popow
f1a021b065
Using tolerant comparer for 16 and 8 bit
7 years ago
Brian Popow
f612fabf79
Add CompareToOriginal at the end of Issue1014 test
7 years ago
Brian Popow
3b5af03f5f
Add test for the tga encoder
7 years ago
Brian Popow
7b3018c3e1
Add support for encoding rle 8, 16 and bit tga images
7 years ago
Brian Popow
deb1bf5284
Add support for images with top left origin
7 years ago
Brian Popow
e12873c115
Add tests for topleft origin
7 years ago
Brian Popow
296e75bb3f
Change test images, add additional tests
7 years ago
Brian Popow
7a8a132558
Add RLE test images
7 years ago
Brian Popow
3b48dc39dc
Add tga decoder tests
7 years ago
Brian Popow
c3d5f4bd29
Add unit test for issue #1014
7 years ago
Sheyne Anderson
9c48edd685
Add a test for PngEncoder inference
7 years ago
James Jackson-South
cf0bb2540f
Fix #1004
7 years ago
Simon Cropp
fd6a03af15
remove some redundant usings ( #976 )
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
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
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
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
Simon Cropp
c2555b6199
fix some spelling ( #962 )
7 years ago
Simon Cropp
2c04d6b036
redundant usings ( #960 )
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
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
James Jackson-South
5abca49055
Master cleanup ( #952 )
* Fix gitignore and line endings
* Update README.md
7 years ago
Brian Popow
50848a6d27
Add support for decoding RLE24 Bitmaps ( #939 )
* Add support for decoding RLE24
* Simplified determining colorMapSize, OS/2 always has 3 bytes for each palette entry
* Enum value for RLE24 is remapped to a different value, to be clearly separate from valid windows values.
7 years ago