Dirk Lemstra
7ea3238d83
Moved the meta data of the image to a new MetaData property.
9 years ago
James Jackson-South
cdb215e744
Squeeze a couple more ms out of png encode
9 years ago
James Jackson-South
0bd4f6a90a
Png improvements
Test image encodes 9kb smaller and 3ms faster.
9 years ago
Scott Williams
de9c49b122
split formats into there own projects/packages
9 years ago
James Jackson-South
c874a72904
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
7e048ed506
Merging into master
9 years ago
James Jackson-South
a404a3646d
Remove TPacked from generic signature
9 years ago
James Jackson-South
9afc73d2b4
Update TPacked signature
Removes boxing allocation when comparing generic packed value.
9 years ago
Dirk Lemstra
e23d8dfe2c
Changed PixelRow into a PixelArea.
9 years ago
James Jackson-South
b94a865d1c
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
38a3201287
Reduce memory usage in WuQuantizer
9 years ago
James Jackson-South
17bd270bee
Reuse Crc
9 years ago
James Jackson-South
f022da316b
Use optimized write CopyTo for png encoding
9 years ago
James Jackson-South
a96e911336
Png encoder now passes parallel test #24
Previous build failed test when using unmanaged buffer copying. via
PixelRow
9 years ago
James Jackson-South
308e6f0607
Make PngEncoder threadsafe. Fix #24
9 years ago
James Jackson-South
3aa152fd8d
Reduce png encoder memory usage by 3/4
9 years ago
James Jackson-South
4f76f8a110
Fix the png ecoder
9 years ago
Anton Firszov
959075c203
Merge branch 'master' into HEAD
9 years ago
James Jackson-South
d32dd2e2e4
Temp patch fix for png encoding
I HAVE NO IDEA WHAT IS WRONG!
9 years ago
James Jackson-South
ce6e4649d9
Cleanup
9 years ago
James Jackson-South
e26dcebda4
Less memory with sub filter encoding
9 years ago
James Jackson-South
860c34b8bb
Flush only when you need to.
9 years ago
James Jackson-South
09d3bf5467
Pass filtered result scanline by reference.
Halfs the memory usage
9 years ago
James Jackson-South
912e2c1155
Remove duplicate locking
9 years ago
James Jackson-South
4c5bb0290b
Use ArrayPool<T>
9 years ago
James Jackson-South
3e7119c775
Rename pixelData
9 years ago
James Jackson-South
1f960ae41d
Encode grayscale png by row.
9 years ago
James Jackson-South
dd6c05d946
Don't agressively encode indexed pngs
9 years ago
James Jackson-South
79c22dc642
Collect true color pixels by row
9 years ago
James Jackson-South
fb8d6c01b1
Compress image data line by line.
9 years ago
James Jackson-South
5d5ce39044
Add comments
9 years ago
James Jackson-South
b5f06711eb
Reduce allocations per filtered row
9 years ago
James Jackson-South
56840ce90c
Use faster reverse
9 years ago
James Jackson-South
1f52ec3077
Reuse chunk buffers
9 years ago
James Jackson-South
f055a858e2
Remove lists
9 years ago
James Jackson-South
0bdb8dce2a
Minor png codec perf improvements
9 years ago
dirk
5e6f379562
Changed PixelAccessor to use IPackedPixel<TPacked>.
9 years ago
dirk
ecddda19bf
Removed trailing whitespace.
9 years ago
dirk
f2b7f13aa3
Resolved SA1110, SA1117, SA1210 and SA1500.
9 years ago
James Jackson-South
a57c90d94b
Rename to ImageSharp
9 years ago
James Jackson-South
4ec2fe9aa5
Don't adaptively encode indexed pngs
Former-commit-id: fbb4508b15ccb81f78bae6cb0e969e6ee7a34350
9 years ago
dirk
a27f4b953b
Enforce struct on TColor
Former-commit-id: c22a93c67274e1ab495ffa6a85d6c7cb95688974
Former-commit-id: 12a03f05c3c0137240006e978a573e5ff0746ce4
Former-commit-id: 78b186b3d54015644377e55314c070c84debfb25
9 years ago
dirk
7cc5398365
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
654af81258
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
13c865ca18
Enforce struct on TColor
Former-commit-id: 0de461016f83628673d07d18a2f2a402082f47b2
Former-commit-id: 5ee53a5681d546619d3fabaf65d343e20d025b58
Former-commit-id: 1e48873bd7609b2ecd1b33158ae1f7d3f9d517e0
9 years ago
James Jackson-South
8c9c359a09
Png stylecop
Former-commit-id: 7d13b3c396b75143108bb9e5df6b03bbc0085095
Former-commit-id: 40f802aea39d038f8908e50c364fe161b4978b44
Former-commit-id: af2b3ed36a98b84eea71484582b718dea2f240cb
9 years ago
James Jackson-South
969d4211d4
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
42fc880ec9
Fix spacing
Former-commit-id: 54109ad6669530b4101bdbc2cffa7164d8f768a0
Former-commit-id: cf9e89328f261ddde264dcd0a00785104e4344ba
Former-commit-id: 2e5830ec3f13f47292f60da845d9875b6b8768ee
10 years ago
James Jackson-South
15b989561c
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
ff720da2bb
Remove bytes functions
Former-commit-id: 153a5f985339b738d1cf15e10a3d42a6613ef729
Former-commit-id: ece59225c4bd1e6afad22fcf7a18d5cb60189228
Former-commit-id: 9d9fe57bb80e756284f496373c630b9ea09f3058
10 years ago