Dirk Lemstra
7a799fe311
Moved the meta data of the image to a new MetaData property.
9 years ago
James Jackson-South
19d143912a
Squeeze a couple more ms out of png encode
9 years ago
James Jackson-South
d59b78e314
Png improvements
Test image encodes 9kb smaller and 3ms faster.
9 years ago
Scott Williams
6ead567a4c
split formats into there own projects/packages
9 years ago
James Jackson-South
6e3e358ec8
Replace ToBytes()
This replaces IPackedPixel.ToBytes(bytes, offset, ComponentOrder) with
explicit implementations. By doing this we remove the overhead of a
switch statement for all IPackedPixel implementations.
Benefits are also to be found within all the quantizer implementations.
9 years ago
James Jackson-South
99fed3ff36
Merging into master
9 years ago
James Jackson-South
3863f69bff
Remove TPacked from generic signature
9 years ago
James Jackson-South
77f9bdecae
Update TPacked signature
Removes boxing allocation when comparing generic packed value.
9 years ago
Dirk Lemstra
cb089ba2fa
Changed PixelRow into a PixelArea.
9 years ago
James Jackson-South
f45bbecfa7
Initial attempt to decode png. Touch #9
I can pull the pixels from the stream but something is wrong with my
offset calculations. Fingers crossde it's something easy to spot.
9 years ago
James Jackson-South
2295a9cc85
Reduce memory usage in WuQuantizer
9 years ago
James Jackson-South
7b7e4bd630
Reuse Crc
9 years ago
James Jackson-South
6dfb6a8023
Use optimized write CopyTo for png encoding
9 years ago
James Jackson-South
ce9a93ff24
Png encoder now passes parallel test #24
Previous build failed test when using unmanaged buffer copying. via
PixelRow
9 years ago
James Jackson-South
8cae170251
Make PngEncoder threadsafe. Fix #24
9 years ago
James Jackson-South
9398d451de
Reduce png encoder memory usage by 3/4
9 years ago
James Jackson-South
a5b7be5cd3
Fix the png ecoder
9 years ago
Anton Firszov
44d7359ae5
Merge branch 'master' into HEAD
9 years ago
James Jackson-South
64024893a1
Temp patch fix for png encoding
I HAVE NO IDEA WHAT IS WRONG!
9 years ago
James Jackson-South
be5b01bd75
Cleanup
9 years ago
James Jackson-South
7e6deb22ff
Less memory with sub filter encoding
9 years ago
James Jackson-South
7ba6edccb0
Flush only when you need to.
9 years ago
James Jackson-South
f814dc3609
Pass filtered result scanline by reference.
Halfs the memory usage
9 years ago
James Jackson-South
a187ca99f8
Remove duplicate locking
9 years ago
James Jackson-South
bdb53d88ca
Use ArrayPool<T>
9 years ago
James Jackson-South
c536079a85
Rename pixelData
9 years ago
James Jackson-South
b2c54bdfcf
Encode grayscale png by row.
9 years ago
James Jackson-South
17b4c78824
Don't agressively encode indexed pngs
9 years ago
James Jackson-South
b635ce6b42
Collect true color pixels by row
9 years ago
James Jackson-South
52cddd328e
Compress image data line by line.
9 years ago
James Jackson-South
3b1dc7250e
Add comments
9 years ago
James Jackson-South
a0dd79cfed
Reduce allocations per filtered row
9 years ago
James Jackson-South
cdf7d27796
Use faster reverse
9 years ago
James Jackson-South
580d2ba11b
Reuse chunk buffers
9 years ago
James Jackson-South
09fc17b9d1
Remove lists
9 years ago
James Jackson-South
b477e795fb
Minor png codec perf improvements
9 years ago
dirk
4f08406452
Changed PixelAccessor to use IPackedPixel<TPacked>.
9 years ago
dirk
7ad899a028
Removed trailing whitespace.
9 years ago
dirk
3c026f7bf9
Resolved SA1110, SA1117, SA1210 and SA1500.
9 years ago
James Jackson-South
2b2ec84e9c
Rename to ImageSharp
9 years ago
James Jackson-South
e3765100d8
Don't adaptively encode indexed pngs
Former-commit-id: fbb4508b15ccb81f78bae6cb0e969e6ee7a34350
9 years ago
dirk
cf542ef1ec
Enforce struct on TColor
Former-commit-id: c22a93c67274e1ab495ffa6a85d6c7cb95688974
Former-commit-id: 12a03f05c3c0137240006e978a573e5ff0746ce4
Former-commit-id: 78b186b3d54015644377e55314c070c84debfb25
9 years ago
dirk
7b7ae9344c
Added extra interface IPackedPixel so we can easier add extra interfaces.
Former-commit-id: 6fbacd8b3fc9f85f4fd8571c20ff5fd12e5057b8
Former-commit-id: 44b521a163f472068e0dea15334c9361c8bc5a28
Former-commit-id: d53a1519d6bc0573a50bbf397ebde59e61873957
9 years ago
James Jackson-South
d949ab0f26
Revert "Enforce struct on TColor"
This reverts commit c6a36c9427 [formerly 1e48873bd7609b2ecd1b33158ae1f7d3f9d517e0] [formerly 5ee53a5681d546619d3fabaf65d343e20d025b58] [formerly 0de461016f83628673d07d18a2f2a402082f47b2].
Former-commit-id: d0b4d2efc7bae39501eb4d0ed8f130f0185d0b1c
Former-commit-id: 6cb6f17122c793f01a7ea53f9dbe24d10fd02970
Former-commit-id: 1006885854cb5e74f5b53eddd803a531327a872c
9 years ago
James Jackson-South
c6a36c9427
Enforce struct on TColor
Former-commit-id: 0de461016f83628673d07d18a2f2a402082f47b2
Former-commit-id: 5ee53a5681d546619d3fabaf65d343e20d025b58
Former-commit-id: 1e48873bd7609b2ecd1b33158ae1f7d3f9d517e0
9 years ago
James Jackson-South
436a105af7
Png stylecop
Former-commit-id: 7d13b3c396b75143108bb9e5df6b03bbc0085095
Former-commit-id: 40f802aea39d038f8908e50c364fe161b4978b44
Former-commit-id: af2b3ed36a98b84eea71484582b718dea2f240cb
9 years ago
James Jackson-South
5d03d0b106
Slight improvement to indexed png
Premultiply partial alpha colors above threshold
Former-commit-id: e3180b0889327530c971611680ae34e71d24db79
Former-commit-id: 135d6264188a87e221d38e68e9c905782c4a5d7e
Former-commit-id: 546f847865693d9b0a72f73438cd9a1d83c3a669
10 years ago
James Jackson-South
59c39f2da7
Fix spacing
Former-commit-id: 54109ad6669530b4101bdbc2cffa7164d8f768a0
Former-commit-id: cf9e89328f261ddde264dcd0a00785104e4344ba
Former-commit-id: 2e5830ec3f13f47292f60da845d9875b6b8768ee
10 years ago
James Jackson-South
354af45815
Fix cross-format quantization
Png can now store more transparent pixels when indexed and work with all
quantizers.
Former-commit-id: 6a4724535829d2c73024b6b1f0235e94e25ccad1
Former-commit-id: 24e4cfff4583c97caef30369302340a3a75ea57a
Former-commit-id: 56ff119c5a2a2506f06b59a23e5e13ec0c3a4688
10 years ago
James Jackson-South
693cf0df5a
Remove bytes functions
Former-commit-id: 153a5f985339b738d1cf15e10a3d42a6613ef729
Former-commit-id: ece59225c4bd1e6afad22fcf7a18d5cb60189228
Former-commit-id: 9d9fe57bb80e756284f496373c630b9ea09f3058
10 years ago