James Jackson-South
314e9f6b07
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
65b19967fa
Add skip for dotnet xunit
5 years ago
James Jackson-South
e74c9010fd
Skip limited buffer bitmap test on NETFX
5 years ago
James Jackson-South
7a8615bef6
Allow selectively bypassing bmp verification.
5 years ago
James Jackson-South
1ea5e986a2
Remove ActiveIssue filters
5 years ago
James Jackson-South
179563d108
Skip tests on Linux with known Magick issue
5 years ago
pekspro
8cd3948d2b
Adds file header on image extensions tests.
6 years ago
pekspro
43c0888998
Adds ImageExtensionsTest for bmp.
6 years ago
James Jackson-South
ffe2d6995b
Update license
6 years ago
James Jackson-South
4e3dce1e95
Update source license info.
6 years ago
Brian Popow
08de04b505
Change test expectations due to exception change
6 years ago
James Jackson-South
7ef02eba1f
Update tests
6 years ago
Sergio Pedri
5cccfbcacd
Switched pixel format type constraint to unmanaged
6 years ago
Anton Firszov
55c6ae51fe
InBytes->InBytesSqrt, InPixels->InPixelsSqrt
6 years ago
James Jackson-South
e535d1d409
Add dither scaling and simplify API.
6 years ago
Brian Popow
ba371349b3
Increase LimitAllocatorBufferCapacity to 400 for RLE tests.
Add info to ImageFormatException that this may happen for large RLE images
6 years ago
Anton Firszov
a365b5de00
fix my bug in Encode_WorksWithDiscontiguousBuffers
6 years ago
Anton Firszov
edb60a898f
re-enable skipped test
6 years ago
Anton Firszov
82beb45ea1
re-enable skipped test
6 years ago
Anton Firszov
cf5f9f5b8a
tests improvements:
- add failing tests for BmpDecoder
- more sophisticated and verbose buffer capacity configurator
6 years ago
Brian Popow
1d7517677e
Add tests for discontiguous buffers for bitmaps
6 years ago
James Jackson-South
15a7a557f2
Revert `using` declaration changes for until we establish guidelines.
6 years ago
Brian Popow
f897ab6f8d
Change WithTestPatternImageAttribute to WithTestPatternImagesAttribute
6 years ago
Brian Popow
38454f8fde
Use using declarations to reduce nesting
6 years ago
Brian Popow
43cbdab113
Fix stylecop warnings in the test project
6 years ago
James Jackson-South
6384f44501
Merge namespaces
6 years ago
James Jackson-South
cb69622b2e
MetaData => Metadata code.
6 years ago
James Jackson-South
77f5bbe3aa
MetaData => Metadata
6 years ago
James Jackson-South
5a7091e516
Simplify format specific metadata retrieval.
6 years ago
James Jackson-South
372c691d52
Gray8 => L8
6 years ago
Brian Popow
57895990f1
Throw ImageFormatException when width or height is 0
6 years ago
Brian Popow
b1e8202c28
Add tests for bmp and tga header to throw UnknownImageFormatException when there is insufficient data
6 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
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
Simon Cropp
aac8eae64a
fix some spelling ( #962 )
7 years ago
Brian Popow
f9f7a564b1
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
6016c11bd0
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
6fcfe09c38
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
e62ae795c7
Re-enabled Encode_8BitColor tests, if its 64 bit process
7 years ago
Brian Popow
d98f003b91
Removed the Encode_8BitColor, because of the quantization differences with net472 and netcore
7 years ago
Brian Popow
5733661aca
Using tolerant comparer for the Encode_8BitColor tests
7 years ago
Brian Popow
ec0e91376f
Add tests for quantization of 32 bit bitmap to 8 bit color image
7 years ago
Brian Popow
89d09ee994
Not using quantization for Grey8 images when encoding 8Bit Bitmaps
7 years ago
Anton Firszov
5931537429
fix new 8bit bmp code
7 years ago
Brian Popow
e8695732b6
Using tolerant comparer for the Bit8Gs image
7 years ago
Brian Popow
e0afde9967
Switched back to the default reference decoder
7 years ago
Brian Popow
6ce4efe178
Trying MagickReferenceDecoder for the 8bit greyscale image encoder tests
7 years ago
Brian Popow
3431ad321e
Add support for encoding 8-bit bitmaps
7 years ago
Anton Firszov
52c4a3d417
fix Image.FromStream() + add tests
7 years ago