James Jackson-South
c550af8c5a
Re-introduce IImageEncoder and split encoding pipelines.
3 years ago
James Jackson-South
1d994132ef
Re-introduce IImageDecoder and split decoding pipelines.
3 years ago
James Jackson-South
4499df7487
Migrate PngEncoder and fix tests
3 years ago
James Jackson-South
0e9a066195
FS Namespaces and Implicit Global Usings
3 years ago
James Jackson-South
97baeaf438
Update all files
4 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
Brian Popow
25255072f1
This reverts changes from commit 20fcf84311, affecting the png encoder
Renamed DeflateCompressionLevel back to PngCompressionLevel
5 years ago
Brian Popow
998d62930c
Add tiff encoder option to choose the deflate compression level
5 years ago
James Jackson-South
ae1dbabfd0
Minor fixes.
6 years ago
Anton Firszov
0250a046a0
cancellation support for encoders
6 years ago
James Jackson-South
db652d9c6c
Update PngEncoder.cs
6 years ago
James Jackson-South
63bc6a75de
Remove unrequired async/await
6 years ago
James Jackson-South
874115bd0a
Update license
6 years ago
James Jackson-South
9b85a35315
Update src/ImageSharp/Formats/Png/PngEncoder.cs
Co-authored-by: Brian Popow <38701097+brianpopow@users.noreply.github.com>
6 years ago
Scott Williams
8a4363acb3
IdentifyAsync
+ stylecop
6 years ago
Scott Williams
3a809ec4c5
Add Async APIs to IImageEncoder and IImageDecoder
6 years ago
Brian Popow
25684356a4
Rename PngTransparentColorBehavior to PngTransparentColorMode
6 years ago
Brian Popow
89a95a07ee
Add PngTransparentColorBehavior enum
6 years ago
Brian Popow
dde7c1eec5
Add IgnoreMetadata to the png encoder options
6 years ago
James Jackson-South
6183dd8c13
Update source license info.
6 years ago
Brian Popow
3e0a38e4ff
MakeTransparentBlack is now a png encoder option
6 years ago
Brian Popow
f7a6cd2ffa
Add tests for exclude filter
6 years ago
Brian Popow
6407eef2e5
Renamed enum to PngChunkFilter and also renamed enum names
6 years ago
James Jackson-South
f1f4a1495b
Use enum over int.
6 years ago
Sergio Pedri
94c4660d10
Switched pixel format type constraint to unmanaged
6 years ago
Peter Tribe
45f07ce484
Update: expanded optimize options
6 years ago
Peter Tribe
cff87ea323
Fixed property documentation + Optimized transparency
6 years ago
Peter Tribe
072dd533cc
Added: test + fixed optimized property
6 years ago
Peter Tribe
9e7fd61ae4
Update: forgot to implement Optimized property
6 years ago
Ildar
5aec0d8fe9
#244 Add support for interlaced PNG encoding ( #955 )
* #244 Implement interlaced PNG encoding
* #244 Update documentations
* #244 Remove comment
* Cleanup
* Update PngEncoderCore.cs
7 years ago
Brian Popow
d9925234a4
Add support for read and write tEXt, iTXt and zTXt chunks ( #951 )
* Add support for writing tEXt chunks
* Add support for reading zTXt chunks
* Add check, if keyword is valid
* Add support for reading iTXt chunks
* Add support for writing iTXt chunks
* Remove Test Decode_TextEncodingSetToUnicode_TextIsReadWithCorrectEncoding: Assertion is wrong, the correct keyword name is "Software"
* Add support for writing zTXt chunk
* Add an encoder Option to enable compression when the string is larger than a given threshold
* Moved uncompressing text into separate method
* Remove textEncoding option from png decoder options: the encoding is determined by the specification: https://www.w3.org/TR/PNG/#11zTXt
* Removed invalid compressed zTXt chunk from test image
* Revert accidentally committed changes to Sandbox Program.cs
* Review adjustments
* Using 1024 bytes as a limit when to compress text as recommended by the spec
* Fix inconsistent line endings
* Trim leading and trailing whitespace on png keywords
* Move some metadata related tests into GifMetaDataTests.cs
* Add test case for gif with large text
* Gif text metadata is now a list of strings
* Encoder writes each comment as a separate block
* Adjustment of the Tests to the recent changes
* Move comments to GifMetadata
* Move Png TextData to format PngMetaData
7 years ago
James Jackson-South
fac9461886
Optimize x-bit scanline packing.
7 years ago
James Jackson-South
bce7200797
Make formats public + minor cleanup.
8 years ago
James Jackson-South
bd5b0c07eb
Png now correctly encodes 1, 2, 4 bit images
8 years ago
James Jackson-South
8ccea04cdb
Use metadata as fallback forpng encoder options.
8 years ago
James Jackson-South
0d2214923f
Update ImageSharp Namespaces.
8 years ago
James Jackson-South
011e9c32f1
Can now encode 16bit pngs.
8 years ago
Anton Firszov
6585f9551f
RENAME: MemoryManager -> MemoryAllocator
8 years ago
James Jackson-South
3f5ae10096
Add the ability to choose the filter method to use when encoding a png
8 years ago
James Jackson-South
69516e110b
Use non-generic IQuantizer for image formats
8 years ago
James Jackson-South
4bc09cf794
Quantizer
8 years ago
Anton Firszov
27dade8d33
dropping MemoryManager ctr. argument:
PngEncoder, WuQuantizer, ShapeRegion, ShapePath
8 years ago
James Jackson-South
928d8b5e36
Fix and optimize error diffusion
8 years ago
Lauri Kotilainen
bf8bd6832f
- Code style fixes
8 years ago
Lauri Kotilainen
8d44ae346e
- Explicitly pass MemoryManager to the places that
need it (aside from a few exceptions)
8 years ago
James Jackson-South
aaeee35b54
Reduce scanline looping
8 years ago
Scott Williams
4a1eb7cbd0
Formats per type namespaces
9 years ago
Scott Williams
872ca973de
inital rename packages and namespaces
9 years ago
Dirk Lemstra
234107de08
Sealed some classes and made some classes internal.
9 years ago
Scott Williams
a1908fb909
add internal IXXOptions to provider cleaner passing of params to core encoders/decoders
9 years ago