Dmitry Pentin
3f8bd3d2e6
Added internal accessor for root frame
5 years ago
Dmitry Pentin
127e9ddcdd
All ImageFrameCollection<TPixel> public properties & method now check if object was disposed
5 years ago
Dmitry Pentin
cbca565788
ImageFrameCollection now properly implements IDisposable interface & ensures all operations are called on valid object
5 years ago
Dmitry Pentin
ff4b269d59
Removed invalid tests
Subject to discuss.
Image public properties Height, Width, Metadata and PixelType can't corrupt anything if backing image was disposed so I don't see any point altering that behaviour, it wasn't throwing before this branch and shouldn't throw after.
5 years ago
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().
5 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].
5 years ago
Dmitry Pentin
095ce41626
Added tests for issue#1628
5 years ago
Dmitry Pentin
1c45c1a705
Removed GC.SuppressFinalize(this) from Image.Dispose() due to it not having a Finalization method
5 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
5 years ago
Dmitry Pentin
d48b15227d
Image<TPixel> private methods no longer check if object was disposed - it is done at public method calls
5 years ago
Dmitry Pentin
7900b43d1d
Image<TPixel>.Frames now properly throws ObjectDisposedException after being disposed
5 years ago
James Jackson-South
993f96eb7d
Merge pull request #1624 from SixLabors/js/branding
Update branding [skip ci]
5 years ago
James Jackson-South
5b280d3f5c
Update branding [skip ci]
5 years ago
James Jackson-South
a8cb711584
Merge pull request #1623 from SixLabors/bp/bmp1bit
Add support for encoding 1 bit per pixel bitmaps
5 years ago
Brian Popow
33192d396b
Switch default quantizer for the bitmap encoder to Wu-quantizer
5 years ago
Brian Popow
ea8bef4321
Add support for encoding 1 bit per pixel bitmaps
5 years ago
James Jackson-South
6fa903c83d
Merge pull request #1622 from SixLabors/bp/bmp4bit
Add support for encoding 4 bit per pixel bitmaps
5 years ago
Brian Popow
60bd3946de
Execute 4bit bitmap encoder tests only on windows
5 years ago
Brian Popow
04e6b4135a
Make sure bitmap encoder preserves 4 bits per pixel, when the input is 4 bit
5 years ago
Brian Popow
c05d4ddeb5
Add support for encoding 4 bit per pixel bitmaps
5 years ago
James Jackson-South
a6c1785468
Merge pull request #1615 from SixLabors/js/sponsors
Update README.md
5 years ago
James Jackson-South
9ed5fe95cf
Update README.md
5 years ago
James Jackson-South
31dbe9a8ae
Merge pull request #1614 from SixLabors/js/fix-publish
Fix MinVer and SourceLink reference determination
5 years ago
James Jackson-South
4db99dbbf5
Update shared-infrastructure
5 years ago
James Jackson-South
c5c4dd209b
Merge pull request #1610 from ptasev/pt/mem-manager-byte
Added overloads to `Image.WrapMemory` for `IMemoryOwner<byte>`.
5 years ago
Petar Tasev
b7eb1d0ce5
Merge branch 'master' into pt/mem-manager-byte
5 years ago
Petar Tasev
70c6616fa9
Changed test to compare mem locations, and added same test to MemOwner of TPixel.
5 years ago
James Jackson-South
3e00488138
Merge pull request #1606 from SixLabors/js/innerloop
Add InnerLoop Configuration Profiles for Faster Prototyping
5 years ago
Petar Tasev
0871b85bdf
Address code review comments.
5 years ago
Petar Tasev
ae30a49357
Added file header.
5 years ago
Petar Tasev
402782acf5
Removed unused using statements.
5 years ago
Petar Tasev
dc96867834
Added overloads to Image.WrapMemory for IMemoryOwner<byte>.
5 years ago
James Jackson-South
9f0515f27b
Update shared-infrastructure
5 years ago
James Jackson-South
c4d417ab66
Fix codecov test environment identification
5 years ago
James Jackson-South
a4d05f5fd2
Add faster InnerLoop build configurations
5 years ago
James Jackson-South
14954cf5f2
Update to latest config/ruleset
5 years ago
James Jackson-South
82bca5517f
Merge pull request #1601 from saucecontrol/patch-4
Fix PR template typo
5 years ago
Clinton Ingram
06f9e2483a
Update PULL_REQUEST_TEMPLATE.md
5 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>
5 years ago
James Jackson-South
97dde7fb2f
Merge pull request #1593 from SixLabors/js/fix-gitlfs-macosx
Fix Dirty Submodule on Empty Clone - MacOSX
5 years ago
James Jackson-South
b1364dd065
Update shared-infrastructure
5 years ago
James Jackson-South
bb72769968
Merge pull request #1586 from ynse01/ynse01/jpeg-grayscale
Grayscale Jpeg encoding
5 years ago
Ynse Hoornenborg
4d0fb4070a
Put setting JpegColorType and ColorSpace close together
5 years ago
Ynse Hoornenborg
d844e70760
Add JpegColorType to JpegMetadata and use it to configure the JpegEncoder
5 years ago
Ynse Hoornenborg
096ef3d3aa
Refactor out JpegSubsample.Grayscale
5 years ago
Ynse Hoornenborg
26d61124b5
LuminanceForwardConverter handles the entire conversion itself
5 years ago
Ynse Hoornenborg
6dbde61f8d
Rename JpegEncoder InitializeColorType method
5 years ago
Ynse Hoornenborg
6cff023550
Add test cases for Grayscale jpeg
5 years ago
Ynse Hoornenborg
7eaae92bbf
Grayscale Jpeg encoding
5 years ago
James Jackson-South
08b0320538
Merge pull request #1575 from SixLabors/js/aot-experiments
Fix AOT Compiler Compatibility Issues
5 years ago