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
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
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
Brian Popow
411c7d6520
Add setters for TiffFrameMetaData properties, initialize properties from frame ExifProfile
5 years ago
Brian Popow
275a6cc27d
Remove Exif profile from the image metadata: each frame will have its own ExifProfile
5 years ago
Brian Popow
587910f3e3
Remove PhotometricInterpretation and Compression from tiff metadata, because those are already present in the frame metadata
5 years ago
Brian Popow
875db67386
Remove Tiff specific values from the EXIF profile
5 years ago
Brian Popow
85a65ae6f9
Remove width and height from tiff frame metadata
5 years ago
Brian Popow
fa68e1b843
Read and write Exif Profile
5 years ago
Brian Popow
a67bdc222d
Remove the Func from SetSingle and SetArray
5 years ago
Brian Popow
4516ec445a
Rename generic type classes to include the type in the filename
5 years ago
TechPizza
02d0a808c3
Vectorized PaethFilter
5 years ago
James Jackson-South
10a12f752a
Add TODO to TiffLZWDecoder
5 years ago
James Jackson-South
10a3e5eba0
Update HorizontalPredictor.cs
5 years ago
Brian Popow
5fcb5fcf0f
Review changes
5 years ago
Brian Popow
de6e9ddb44
Use enum for the horizontal predictor method
5 years ago
Brian Popow
fa6401c011
Change tiff namespace to SixLabors.ImageSharp.Formats.Tiff;
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
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
Brian Popow
13fbde9213
Add setters for tiff metadata properties
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
a4d05f5fd2
Add faster InnerLoop build configurations
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
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
7eaae92bbf
Grayscale Jpeg encoding
5 years ago
Brian Popow
8bba0132e8
Add Tiff Encoder/Decoder to AoT seeds
5 years ago
UltraNamahage
ece0707053
Organize Seed and solve the problem of more Seed and code strips with the Preserve attribute.
5 years ago
Brian Popow
4b28acff6d
Remove TiffEncoderCompression, use TiffCompression enum instead
5 years ago
UltraNamahage
10739590ce
Have AotCompilerTools cache additional methods.
5 years ago
Anton Firszov
583bb6bd6d
Also fix "<returns>"
5 years ago
Anton Firszov
d1c2172406
Image.Load(byte[]) should return non-generic Image
5 years ago
Ildar Khayrutdinov
f9570d37f7
Remove TiffFrameMetadataResolutionExtensions class
5 years ago
Brian Popow
b58825345b
Use BinaryPrimitives instead of BitConverter and scratch buffer to avoid allocations
5 years ago
Brian Popow
6bb1c8095a
Add explicit bit values to BitsPerSample
5 years ago
James Jackson-South
5f4a7accfb
Update OrderedDither.cs
5 years ago