Brian Popow
074d1a6a12
Add xunit trait attributes to tests
5 years ago
James Jackson-South
45f303d094
Don't use generics.
Could have saved myself days of issues if i'd just thought of this first.
5 years ago
James Jackson-South
147aea2448
Add skip for dotnet xunit
5 years ago
James Jackson-South
586f2dca75
Skip limited buffer bitmap test on NETFX
5 years ago
James Jackson-South
8d12e539a9
Allow selectively bypassing bmp verification.
5 years ago
James Jackson-South
4992c87323
Remove ActiveIssue filters
5 years ago
James Jackson-South
7c4a8a1a6f
Skip tests on Linux with known Magick issue
5 years ago
pekspro
f826f6d841
Adds file header on image extensions tests.
6 years ago
pekspro
458308a8f7
Adds ImageExtensionsTest for bmp.
6 years ago
James Jackson-South
874115bd0a
Update license
6 years ago
James Jackson-South
6183dd8c13
Update source license info.
6 years ago
Brian Popow
0bbdb46551
Change test expectations due to exception change
6 years ago
James Jackson-South
dc7d9b8e17
Update tests
6 years ago
Sergio Pedri
94c4660d10
Switched pixel format type constraint to unmanaged
6 years ago
Anton Firszov
ee93aa406d
InBytes->InBytesSqrt, InPixels->InPixelsSqrt
6 years ago
James Jackson-South
ba38de5843
Add dither scaling and simplify API.
6 years ago
Brian Popow
1191d865be
Increase LimitAllocatorBufferCapacity to 400 for RLE tests.
Add info to ImageFormatException that this may happen for large RLE images
6 years ago
Anton Firszov
13fe3f7e30
fix my bug in Encode_WorksWithDiscontiguousBuffers
6 years ago
Anton Firszov
5ade80af3a
re-enable skipped test
6 years ago
Anton Firszov
a7b29e13a5
re-enable skipped test
6 years ago
Anton Firszov
1366168a6c
tests improvements:
- add failing tests for BmpDecoder
- more sophisticated and verbose buffer capacity configurator
6 years ago
Brian Popow
7f42381204
Add tests for discontiguous buffers for bitmaps
6 years ago
James Jackson-South
8cd722cfc5
Revert `using` declaration changes for until we establish guidelines.
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
James Jackson-South
c24b364be1
Merge namespaces
6 years ago
James Jackson-South
fa1e1c5b91
MetaData => Metadata code.
6 years ago
James Jackson-South
6bc6afb3e7
MetaData => Metadata
6 years ago
James Jackson-South
dfd2b641d5
Simplify format specific metadata retrieval.
6 years ago
James Jackson-South
a35b73245a
Gray8 => L8
6 years ago
Brian Popow
7db0caaedd
Throw ImageFormatException when width or height is 0
6 years ago
Brian Popow
862018228d
Add tests for bmp and tga header to throw UnknownImageFormatException when there is insufficient data
6 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
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
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
Brian Popow
cf61a08b31
Bitmap decoder now can decode bitmap arrays ( #930 )
* Bitmap Decoder can now decode BitmapArray
* Add tests for bitmap metadata decoing. Fix an issue that a bitmap with a v5 header would be set in the metadata as an v4 header.
* Fixed issue with decoding bitmap arrays: color map size was not determined correctly. Added more test images.
* Refactor colormap size duplicate declaration.
* Fixed an issue, that when an unsupported bitmap is loaded the typ marker was not correctly shown in the error message
7 years ago
Brian Popow
30a1b11f89
Feature: Bitmap RLE undefined pixel handling ( #927 )
* Add bitmap decoder option, how to treat skipped pixels for RLE
* Refactored bitmap tests into smaller tests, instead of just one test which goes through all bitmap files
* Add another adobe v3 header bitmap testcase
* Using the constant from BmpConstants to Identify bitmaps
* Bitmap decoder now can handle oversized palette's
* Add test for invalid palette size
* Renamed RleUndefinedPixelHandling to RleSkippedPixelHandling
* Explicitly using SystemDrawingReferenceDecoder in some BitmapDecoder tests
* Add test cases for unsupported bitmaps
* Comparing RLE test images to reference decoder only on windows
* Add test case for decoding winv4 fast path
* Add another 8 Bit RLE test with magick reference decoder
* Optimize RLE skipped pixel handling
* Refactor RLE decoding to eliminate code duplication
* Using MagickReferenceDecoder for the 8-Bit RLE test
7 years ago
Brian Popow
71a27f27b9
Re-enabled Encode_8BitColor tests, if its 64 bit process
7 years ago
Brian Popow
1341233692
Removed the Encode_8BitColor, because of the quantization differences with net472 and netcore
7 years ago
Brian Popow
305b99ee88
Using tolerant comparer for the Encode_8BitColor tests
7 years ago
Brian Popow
824496f72d
Add tests for quantization of 32 bit bitmap to 8 bit color image
7 years ago
Brian Popow
028b6b5b7e
Not using quantization for Grey8 images when encoding 8Bit Bitmaps
7 years ago
Anton Firszov
2025f9845c
fix new 8bit bmp code
7 years ago
Brian Popow
8618a05f44
Using tolerant comparer for the Bit8Gs image
7 years ago
Brian Popow
6a9123b09c
Switched back to the default reference decoder
7 years ago
Brian Popow
75d5bd812e
Trying MagickReferenceDecoder for the 8bit greyscale image encoder tests
7 years ago
Brian Popow
fddae8734a
Add support for encoding 8-bit bitmaps
7 years ago