Anton Firszov
c87a0f9d60
fix tests
7 years ago
Anton Firszov
a7c5295107
benchmark WorkingBufferSizeHint effects
7 years ago
Anton Firszov
f6c778442d
optimized sliding works!
7 years ago
Anton Firszov
1fd135f62b
ResizeTests.LargeImage
7 years ago
Anton Firszov
3860fb6f5b
more robust tests
7 years ago
Anton Firszov
51cc659353
WorkingBufferSizeHintInBytes_IsAppliedCorrectly
7 years ago
Anton Firszov
19766df11a
buffer.CopyColumns(...)
7 years ago
Anton Firszov
6db0701695
moar RowInterval stuff
7 years ago
Anton Firszov
40aea16633
utilize CalculateResizeWorkerHeightInWindowBands()
which has been renamed from CalculateResizeWorkerWindowCount()
7 years ago
Anton Firszov
b3495e8f71
refactor stuff + implement CalculateResizeWorkerWindowCount()
7 years ago
James Jackson-South
5a85ea72b5
Handle incorrect colorspace metadata. Fix #882 ( #885 )
7 years ago
Anton Firszov
86cc83d7ea
basic sliding window implementation (semi-stable state)
7 years ago
Anton Firszov
20ddd11e5f
ResizeWindow refactor 4
7 years ago
Anton Firszov
545abf2d06
ResizeWindow refactor 3
7 years ago
Anton Firszov
4d38d7c426
ResizeWindowOld
7 years ago
James Jackson-South
45edceb0bc
Use more accuracy when calculating variance. Fix #866 ( #874 )
* Use more accuracy when calculating variance. Fix #866
* Add unit tests
* Add test that fails with old image.
* Make IFrameQuantizer IDisposable
* Update GifEncoderCore.cs
7 years ago
Jason Nelson
cb189525e3
Nits - Colorspaces ( #880 )
* Add missing periods
* Only perform matrix inversion once in CieXyzToLinearRgbConverter
* Eliminate unnessary ToVector3 call
* Seal GammaWorkingSpace
* Address stylecop violation
* Add periods
* Fix colorspace companding
7 years ago
Jason Nelson
48bac7b334
Update metadata names ( #879 )
7 years ago
Anton Firszov
985357cf84
introduce [WithBasicTestPatternImages]
7 years ago
Anton Firszov
9861084a8d
drop FileTestBase usage in ResizeTests
7 years ago
Anton Firszov
f455dad3f1
PixelConversionModifierExtensions.ApplyCompanding() + tests
7 years ago
Poyo
0dfa2f9f98
Change existing gradient brushes to accept PointF ( #865 )
* Change existing gradient brushes to accept PointF
* Change PositionOnGradient to accept float
* Remove invalid assert.
7 years ago
Poyo
a7f9a8e9e1
Fix incorrect gradient color-stop calculation ( #864 )
* Fix incorrect gradient color-stop calculation
* Update submodule
* Add multi-stop gradient test
* Add missing reference image
7 years ago
Anton Firszov
4a0b10080d
rename FromVector4(...) to FromVector4Destructive(...)
7 years ago
Anton Firszov
37563cca01
Optimization: omit premultiplication for Bgr24 and Rgb24
7 years ago
Anton Firszov
70c4e117f1
Inlining temporary compatibility methods (FromScaledVector4, ToScaledVector4)
7 years ago
Anton Firszov
1a922f6e14
all pixel types implemented except RgbaVector
7 years ago
Anton Firszov
d126b8591e
add (failing) tests from #847
7 years ago
Anton Firszov
b0ff7cf6b6
copy companding refactor from #847
7 years ago
James Jackson-South
76707283fc
Bounds check. Fix #849 ( #851 )
7 years ago
James Jackson-South
6c637af2cf
Implement IEquatable<Block8x8F> and check when summing. ( #848 )
7 years ago
James Jackson-South
617c77c084
Lazily derive the huffman tables. Fix #839 ( #841 )
* Lazily derive the huffman tables. Fix #839
* Lazy invoke fast table
* Add performance tweaks to scan decoder.
* Remove unneccessary classes.
7 years ago
James Jackson-South
8f3658da6c
Jpeg Fuzz Fixes ( #836 )
* Nomalize jpeg exceptions. Fix #821
* Fix #822
* Fix #823
* Check for correct QT index. Touch #824
* Check DHT props. Touch #824
* Limit sampling factors to 1 & 2. Touch #824
* Add already fixed image 4. Touch #824
* Check for excessive code lengths. Touch #824
* Add already fixed image 6. Touch #824
* Lint progressive scan details. Touch #824
* Add already fixed image 8. Fix #824
* Remove duplicate per-block checks
* Add already fixed image 1. Touch #825
* Don't throw on bad JFIF density units.
* Add already fixed image 3. Touch #825
* Add already fixed image 4. Fix #825
* Check SOFn marker length. Touch #826
* Add already fixed image 2. Touch #826
* Add already fixed image 3. Fix #826
* Add fixed already fixed image. Fix #827
* Revert unneeded bounds check introduced in #804
7 years ago
James Jackson-South
5a9b84e9a6
Remove hardcoded subsampling. Fix #817 ( #834 )
7 years ago
Robin Krom
ff31b5f8d4
Some changes to make the usages of GDI in benchmarks and tests more stable, this should hopefully prevent "a generic error occurred in GDI+". Hopefully I didn't miss one... ( #835 )
7 years ago
James Jackson-South
4c0b0123a8
Reorder target frameworks ( #833 )
7 years ago
Brian Popow
892bba1ed1
Add support for Decoding BI_ALPHABITFIELDS ( #832 )
* Adds support for BI_ALPHABITFIELDS
* Fix for decoding bitmaps with a less than full sized palette
7 years ago
Brian Popow
13ff434b9e
Fix Decoding interlaced grayscale ( #831 )
7 years ago
Brian Popow
637f76707b
Respecting fileHeader Offset, skipping bytes if necessary ( #819 )
7 years ago
Brian Popow
6a60638d5c
Fix Decoding 8-Bit grayscale png's with alpha ( #830 )
7 years ago
Brian Popow
b03d41bbb9
Adds support for OS/2 version 2 bitmaps ( #813 )
* Added support for OS/2 version 2 bitmaps
* throw NotSupportedException, if the file header type is not BM
* renamed Os2v2 to Os2v2Size
* Added BmpThrowHelper similar to the JpegThrowHelper
7 years ago
Brian Popow
1b9979c9ef
Added support for RLE4 encoded bitmaps ( #812 )
7 years ago
Brian Popow
1996831667
Decoding Bitmaps with BITFIELDS masks ( #796 )
* decoding bitmaps with Bitfields masks
* added testcases for Bitfields bitmaps
* added parsing of the complete bitmap V4 header to get the color masks infos for the BITFIELDS compression
* writing now explicitly a Bitamp v3 header (40 bytes)
* added test image for issue #735
* fixed rescaling 5-bit / 6-bit to 0 - 255 range
* BitmapEncoder now writes BMP v4 header
* using MemoryMarshal.Cast to simplify parsing v4 header
* added testcases for bitmap v3, v4, v5
* Bitmap encoder writes again V3 header instead of V4. Additional fields for V4 are zero anyway.
* added parsing of special case for 56 bytes headers
* using the alpha mask in ReadRgb32BitFields() when its present
* added support for bitmasks greater then 8 bits per channel
* using MagickReferenceDecoder reference decoder for the test with 10 bits pixel masks
* changed bitmap constants to hex
* added enum for the bitmap info header type
* added support for 52 bytes header (same as 56 bytes without the alpha mask)
* clarified comment with difference between imagesharp and magick decoder for Rgba321010102
* BmpEncoder now writes a V4 info header and uses BITFIELDS compression
* workaround for issue that the decoder does not decode the alpha channel correctly: For V3 bitmaps, the alpha channel will be ignored during encoding
* Fix #732
7 years ago
James Jackson-South
b74e230671
Fix Color Filters ( #806 )
* Use Matrix5x4 and fix Hue Filter
* Update test references. Fix #802
* Increase tolerance to handle xplat variance.
* Rename to ColorMatrix
7 years ago
James Jackson-South
93bb37394a
Use bounds checks in Huffman ctr. Fix #798
7 years ago
Peter Amrehn
575c23d929
#797 throw ImageFormatException when no StartOfFrame marker is found on a jpg image.
7 years ago
James Jackson-South
537dbcf78b
Update reference images and decoder
7 years ago
James Jackson-South
2f3c0fce47
Use S.D in Windows.
7 years ago
James Jackson-South
890134cec6
Fix reference tests
7 years ago
James Jackson-South
5ef46927fc
Use MagickReferenceDecoder for bmp.
7 years ago