Dmitry Pentin
8ec1013ce8
Removed redundant flag from Image.Dispose(bool) call
As Image does not have unmanaged resources and does not implement finalizer method, there's no need for disposable pattern with a pair of Dispose() & Dispose(bool).
Due Dispose(bool) was changed to DisposeManaged().
6 years ago
Dmitry Pentin
acf9d85e8c
Moved dispose control logic to base Image class
internal call EnsureNotDisposed is no longer virtual -> micro speedup gain in pixel index accessor Image<TPixel>[x, y].
6 years ago
Dmitry Pentin
095ce41626
Added tests for issue#1628
6 years ago
Dmitry Pentin
1c45c1a705
Removed GC.SuppressFinalize(this) from Image.Dispose() due to it not having a Finalization method
6 years ago
Dmitry Pentin
7029b2ffb1
Image<TPixel> private property PixelSource no longer checks if object was disposed, check is delegated to public methods using that property
6 years ago
Dmitry Pentin
d48b15227d
Image<TPixel> private methods no longer check if object was disposed - it is done at public method calls
6 years ago
Dmitry Pentin
7900b43d1d
Image<TPixel>.Frames now properly throws ObjectDisposedException after being disposed
6 years ago
James Jackson-South
993f96eb7d
Merge pull request #1624 from SixLabors/js/branding
Update branding [skip ci]
6 years ago
James Jackson-South
5b280d3f5c
Update branding [skip ci]
6 years ago
James Jackson-South
a8cb711584
Merge pull request #1623 from SixLabors/bp/bmp1bit
Add support for encoding 1 bit per pixel bitmaps
6 years ago
Brian Popow
33192d396b
Switch default quantizer for the bitmap encoder to Wu-quantizer
6 years ago
Brian Popow
ea8bef4321
Add support for encoding 1 bit per pixel bitmaps
6 years ago
James Jackson-South
6fa903c83d
Merge pull request #1622 from SixLabors/bp/bmp4bit
Add support for encoding 4 bit per pixel bitmaps
6 years ago
Brian Popow
60bd3946de
Execute 4bit bitmap encoder tests only on windows
6 years ago
Brian Popow
04e6b4135a
Make sure bitmap encoder preserves 4 bits per pixel, when the input is 4 bit
6 years ago
Brian Popow
c05d4ddeb5
Add support for encoding 4 bit per pixel bitmaps
6 years ago
James Jackson-South
a6c1785468
Merge pull request #1615 from SixLabors/js/sponsors
Update README.md
6 years ago
James Jackson-South
9ed5fe95cf
Update README.md
6 years ago
James Jackson-South
31dbe9a8ae
Merge pull request #1614 from SixLabors/js/fix-publish
Fix MinVer and SourceLink reference determination
6 years ago
James Jackson-South
4db99dbbf5
Update shared-infrastructure
6 years ago
James Jackson-South
c5c4dd209b
Merge pull request #1610 from ptasev/pt/mem-manager-byte
Added overloads to `Image.WrapMemory` for `IMemoryOwner<byte>`.
6 years ago
Petar Tasev
b7eb1d0ce5
Merge branch 'master' into pt/mem-manager-byte
6 years ago
Petar Tasev
70c6616fa9
Changed test to compare mem locations, and added same test to MemOwner of TPixel.
6 years ago
James Jackson-South
3e00488138
Merge pull request #1606 from SixLabors/js/innerloop
Add InnerLoop Configuration Profiles for Faster Prototyping
6 years ago
Petar Tasev
0871b85bdf
Address code review comments.
6 years ago
Petar Tasev
ae30a49357
Added file header.
6 years ago
Petar Tasev
402782acf5
Removed unused using statements.
6 years ago
Petar Tasev
dc96867834
Added overloads to Image.WrapMemory for IMemoryOwner<byte>.
6 years ago
James Jackson-South
9f0515f27b
Update shared-infrastructure
6 years ago
James Jackson-South
c4d417ab66
Fix codecov test environment identification
6 years ago
James Jackson-South
a4d05f5fd2
Add faster InnerLoop build configurations
6 years ago
James Jackson-South
14954cf5f2
Update to latest config/ruleset
6 years ago
James Jackson-South
82bca5517f
Merge pull request #1601 from saucecontrol/patch-4
Fix PR template typo
6 years ago
Clinton Ingram
06f9e2483a
Update PULL_REQUEST_TEMPLATE.md
6 years ago
James Jackson-South
dc0982f186
Faster Linear Transforms ( #1591 )
* Attempt to use same weight generation algorithm as resize.
* tests pass
* Identical output
* Update LinearTransformKernelFactory{TResampler}.cs
* Use new low allocation iterator
* Migrate projective transforms.
* Optimizations
* Smaller kernel
* Fix sampling accuracy
* Finalize and update refs
* Revert unnecessary changes
* Remove enumerator
* Actually save output for debugging.
* Use custom test png encoder for reduced memory environments
* Convolution should use scaled vectors
* Update TestEnvironmentTests.cs
* Try using doubles
* Moar double precision
* Fix radius calculation
* Test if issue is SIMD related.
* Detect runtime to determine pipeline.
* Fix stack overflow
* fix condition
* Try simplified scalar run
* Simplify unpremultiply scalar
* Update Numerics.cs
* Fix runtime environment
* Update ImageSharp.csproj
* Duplicate the caller with scalar versions
* Update method name, exclude from coverage.
* Don't save output during coverage tests for perf.
* Update src/ImageSharp/Common/Helpers/RuntimeEnvironment.cs
Co-authored-by: Anton Firszov <antonfir@gmail.com>
Co-authored-by: Anton Firszov <antonfir@gmail.com>
6 years ago
James Jackson-South
97dde7fb2f
Merge pull request #1593 from SixLabors/js/fix-gitlfs-macosx
Fix Dirty Submodule on Empty Clone - MacOSX
6 years ago
James Jackson-South
b1364dd065
Update shared-infrastructure
6 years ago
James Jackson-South
bb72769968
Merge pull request #1586 from ynse01/ynse01/jpeg-grayscale
Grayscale Jpeg encoding
6 years ago
Ynse Hoornenborg
4d0fb4070a
Put setting JpegColorType and ColorSpace close together
6 years ago
Ynse Hoornenborg
d844e70760
Add JpegColorType to JpegMetadata and use it to configure the JpegEncoder
6 years ago
Ynse Hoornenborg
096ef3d3aa
Refactor out JpegSubsample.Grayscale
6 years ago
Ynse Hoornenborg
26d61124b5
LuminanceForwardConverter handles the entire conversion itself
6 years ago
Ynse Hoornenborg
6dbde61f8d
Rename JpegEncoder InitializeColorType method
6 years ago
Ynse Hoornenborg
6cff023550
Add test cases for Grayscale jpeg
6 years ago
Ynse Hoornenborg
7eaae92bbf
Grayscale Jpeg encoding
6 years ago
James Jackson-South
08b0320538
Merge pull request #1575 from SixLabors/js/aot-experiments
Fix AOT Compiler Compatibility Issues
6 years ago
James Jackson-South
0152586509
Merge branch 'master' into js/aot-experiments
6 years ago
James Jackson-South
bf957c615c
Merge pull request #1574 from UltraNamahage/js/aot-experiments
Seed more methods with AotCompilerTools.
6 years ago
UltraNamahage
ece0707053
Organize Seed and solve the problem of more Seed and code strips with the Preserve attribute.
6 years ago
UltraNamahage
10739590ce
Have AotCompilerTools cache additional methods.
6 years ago