James Jackson-South
35ef835076
Merge pull request #368 from pinki/core
Crop source origin fixed
Former-commit-id: 719525a97c5dbb394ab78e39a37a855af28efd2e
Former-commit-id: 31bfdf55c292ec9f633b778e986fc4505d94244b
Former-commit-id: 44fafcb2f1a25e48253b11450da187e8aee6866e
10 years ago
Michael Heinrich
c07ea3d8da
Crop source origin fixed
Former-commit-id: 1e9d9b807019c9db23256dd0572aa70cbc96d7f5
Former-commit-id: 9bd277ace0d969a8b9a12f1fd7dffcc2ca4f3188
Former-commit-id: 8e3d9682314b60c1169a0319aa9ce3b23543a6f2
10 years ago
James South
3dbf9fd5fe
Remove excess extension.
Former-commit-id: dfc11ff2e5491cd114583461ac43fab91615f4d9
Former-commit-id: 917d752bcafd9a47c1621d42a7d92f3991a9c64d
Former-commit-id: 8d80a2f9c52b0144e7090e3312b9ee376ec793fb
10 years ago
James Jackson-South
9fba009363
Strip out dominant pixel methods.
The two methods added yesterday are too generic and not best placed in
core. Could be an extension method for the web version though. Replaced
with ToString() override.
Former-commit-id: fe3126102c16e1499536b13dfdfe705246f29869
Former-commit-id: 7f5b08ed913df21285b01d6ded3d7922203c050c
Former-commit-id: 70d8c9dc185b715402b6092be342755020ddcc70
10 years ago
James South
27e3baba0e
Add dominant pixel encoding.
Add functionality as described at
https://manu.ninja/dominant-colors-for-lazy-loading-images
Former-commit-id: 6877d52aec61a5cff850b8fc52b98fe4328db115
Former-commit-id: 231b6016c32e434d9699fd01b90662257c7edb59
Former-commit-id: 504ae4d40e60270d85797b646b659becd4303500
10 years ago
James South
df49777aa4
Fix missed test
Former-commit-id: 3b52150021ce6a3fbcdbf027c93d0320109e9d1b
Former-commit-id: 8f48ba4a2e3f37de5e4bd87ae1a176806c344791
Former-commit-id: aba9c60d1a03fff0ad4eb463143ef9a8ecd276b2
10 years ago
James South
7127e87e91
Fix memory leak in sampler tests
Former-commit-id: 4b9ffafdd826522b192bfeb8411faefee7621a16
Former-commit-id: 560f124d694ee156b4a1e7e6a0c2d92ee87edc0e
Former-commit-id: 672cf548c6014bfbd4ec4453d1b029e11091f533
10 years ago
James South
f2f2d31a60
Stylecop
Former-commit-id: 91a27c024108ecc4d4d908710b981e27bc3e750d
Former-commit-id: 1d6f8af6ffbd20af54f347794a7a84c4bcffbfda
Former-commit-id: 19e2ec5430c4510743d831e3af765622a9dcec55
10 years ago
James South
fb6ac13e17
Add Skew, Enhance Rotate
Former-commit-id: 55c3fee46aa082cc2cca3232580ed42d6d40a1e1
Former-commit-id: ab1b89f66aca40b6d2afe262ab937d768cae67af
Former-commit-id: ef13eccfc48a91a3adc99eaf0b746486d069bac1
10 years ago
James South
54bb22419a
Merge remote-tracking branch 'refs/remotes/origin/Core-Resize' into Core
Former-commit-id: ede8c124ed2ed8b0a85359e316b4955e24dd7cf2
Former-commit-id: 7c4912636e4455d06e6ae41d18dd33722b4b05a4
Former-commit-id: 4148ad3ba0358e007f10a5303671fef7d041249d
10 years ago
James South
a225234e56
Merge remote-tracking branch 'refs/remotes/origin/Core-Resize' into Core
Former-commit-id: fa9b8556f76f28c1f6d6b4d569f7825773b882f9
Former-commit-id: 371911bc45ac62835eebc2e81161bbf311c40f5d
Former-commit-id: 21d0de778f18f52aff9590f0bf3b95547f23bdec
10 years ago
James South
73939baad2
Improve Resize and Rotate
Resize is more accurate + should be faster for larger images.
Rotate is now faster.
Former-commit-id: 3048d78e60fe62e826fe0b6fcb13a83ed6cf38eb
Former-commit-id: dc9eacc4bc7a9c9c33c155bdaa871b15b62816ff
Former-commit-id: dd17b2b62035f8bf3af68167e8e2cb72ac2dfcb3
10 years ago
James Jackson-South
cdaa7b99ec
Resize experiments.
Former-commit-id: 9d1f60a253be59b797be35618a0159dd6ca3b13b
Former-commit-id: c36b547bcc7372a0961397c20fdcdb6fee96070d
Former-commit-id: 4e5618575a0a923629e85880dd75f358d8bfe6eb
10 years ago
James South
fb3e3a696a
Resave solution
Former-commit-id: 8cf4e78c9279df458ad92794c259491f488b05b1
Former-commit-id: c7899e85060fe0eb6fdb6f03257fbfadc3712879
Former-commit-id: 6a23830ea982f548e83867995928bc54002607b5
10 years ago
James South
4663bfd254
Merge remote-tracking branch 'refs/remotes/origin/Core-IDisposable' into Core
Former-commit-id: dcb89b26e6586df8fad2e265558d7c59e0779794
Former-commit-id: ee25eca0cb34d6983ec9b3acce13456af6556ed6
Former-commit-id: eb700f049d4ca2f4e9ef01c2595513549eebf6a9
10 years ago
James South
370550555a
No need for bounds check.
Former-commit-id: 6004db66d17f9fc01328774b9a15e2876ae6e57a
Former-commit-id: badb280bc5a2206643bf403856e98335f63c410b
Former-commit-id: fd532c37d6ed95609736410b30e6b4037e1ec795
10 years ago
James Jackson-South
904c48be9e
Fix blend
Former-commit-id: 2ff994ec48236f6d1293dfbaefdbf2a2f91fee67
Former-commit-id: 734ec6a70dd782ac2d26420621e989d9943b12ed
Former-commit-id: 87b984ebbace9d0b8108267d0d09f736ba5e1b1a
10 years ago
James Jackson-South
703fc3b50a
Merge remote-tracking branch 'refs/remotes/origin/Core' into Core-IDisposable
Former-commit-id: 43617c141968d3378af2cb4a5a197d7443fcf431
Former-commit-id: bbb4b0876244013b928b70f5f4fdbdd98d21af7e
Former-commit-id: c24be5c67180820f0f9ce77938b269c05ed935c0
10 years ago
James Jackson-South
14b7c7035a
Merge pull request #361 from mweber26/Core
Fix to jpeg decocding, wrong size for mcu counter.
Former-commit-id: 203657a90ed985095f7f07f29776a02618f1b692
Former-commit-id: c0f212c5ab1abe28b6d970348c6c964a7c97704e
Former-commit-id: 444d077091234d2952d9145b7a68e93014b6ba97
10 years ago
Michael Weber
e4a9d24c3f
Fix to jpeg decocding, wrong size for mcu counter.
Former-commit-id: bf3abfef7518c9e00edd8c1de040561b3a88ad82
Former-commit-id: efa7a26d6a311ac85959f0c6d2e5cf5adcbd1899
Former-commit-id: 9a9cb11772372e6c77b41a7cce89809fe17bf029
10 years ago
James South
afdc81cb87
Update code samples
Former-commit-id: f455e4ad28147a0621cf97d3470963fc6dcac41e
Former-commit-id: b980688edacfc45f78dfbad54f1cc2ebd31f5558
Former-commit-id: a3456a554be3af09bf121be2633a280221018dfe
10 years ago
James South
2aabf49b56
Image now IDisposable
This appears to have injected some voom into things. Not benchmarked
though and needs double checking for memory leaks.
touch #360
Former-commit-id: 0707a36781e3a5fa4d273d933d1bd1b04b022092
Former-commit-id: f7ec165c3d10d9e1e35b8eec3545ca75cf302cf9
Former-commit-id: d5bc57ce1cde9f1486a954d3453040514dc4d629
10 years ago
James Jackson-South
59e796d9ba
Fix MyGet link so people can actually test this
Former-commit-id: 286deded24ad1ad6d35dde719d0a513f1446e48a
Former-commit-id: 935dd53e5208531d51a7661d6c5a6a592a7b73dc
Former-commit-id: f1aa66ea4468918049328db3a492a1cd7683210d
10 years ago
James South
b4abafebc4
Add 32bit bitmap support plus cleanup.
Former-commit-id: 398e93818c9c9e901b125b7daa7a345fcc8d2787
Former-commit-id: 9aba9f2e190fc8a986e16d632a58ebc94fda2d5b
Former-commit-id: fd99bf7129eb85360cae9484cccac3241af0681e
10 years ago
James South
756b5538e2
Clean up colors
Former-commit-id: ef3fb067f37be5af30955604ef8f7e788c060fc8
Former-commit-id: fdf15de4bf1184ae07ffdeb37e0219e960dd9db5
Former-commit-id: 6ab66cdb8fd7f82c38b6ddc5ac11364c09accd97
10 years ago
James South
33eb2f2f9c
Cleaned up Lzw (En/De)coder
Fix #359
Former-commit-id: e140a2e3bb28ec1332e0d4caf0de1eaeed154376
Former-commit-id: db6a61bfbe42c744ef7ad47444019a77a9d439dc
Former-commit-id: 88b7684fa215b5e7641a8f012fef6b97313a6935
10 years ago
James South
9c691d6537
Fixing encoder for animated gifs
Lots of cleanup to do yet.
Former-commit-id: 2606ad6ffb5da07a1aef2ee1d5af81437367b8c3
Former-commit-id: a444cddddae006b71c32de7e4dc1619b604d1115
Former-commit-id: 5dffd13674d2d3ae1b2c366989cc1c97b1bd18ac
10 years ago
James South
96e108c798
Use core gif encoder.
Former-commit-id: 548bcc2f52fff34c699dae622988797facbc4bad
Former-commit-id: 3533dab899bff33bfa7d4485b51a6bba1f3154a7
Former-commit-id: de8e3008aef00c8685117416a54d919ad892931f
10 years ago
James Jackson-South
4ef82a9c6c
Add EndianBinaryWriter
Former-commit-id: 17cd44fdcf56bd26a2a22ddecc156c9c35ae6478
Former-commit-id: c978bc8b4b361b67559b28f71eb1c351ff2b5246
Former-commit-id: 9a242b89981c266e38e6e79bf55e4750e0e3ef73
10 years ago
James Jackson-South
63043fdc36
Palette Quantizer is now threadsafe.
Former-commit-id: 7e9f0265dd832ab739a0579deabae792f351efda
Former-commit-id: 8d60a4d0e34f89e2ef638da8c7b1873ac77aee03
Former-commit-id: 7bc7b4acc76f558796b3cf580446d0f517bb15fa
10 years ago
James Jackson-South
c92ab3b807
Fix indexed png transparecy
Former-commit-id: 22b1bb758cdbd1a858c7e3cdcc1896c67302ad51
Former-commit-id: 9439de1c305648648f7348a9b7852b137c83720a
Former-commit-id: 7a1d86a944909bd5e68ea96070ecf16641d3b1db
10 years ago
James South
7e61397a69
Merge remote-tracking branch 'refs/remotes/origin/Core-IndexedPNG' into Core
Former-commit-id: 48d5c4d8602aec39d5752119bda091dc01624051
Former-commit-id: f3e125bf9eed4a63dd4511290687878742e19160
Former-commit-id: 9db4b183f6468841247b816cb2bb7a34d228111f
10 years ago
James South
a46c37cf5f
Merge remote-tracking branch 'refs/remotes/origin/Core-IndexedPNG' into Core
Former-commit-id: cad28a2798e6c127944997f2eff771757da56f65
Former-commit-id: fb8a3fd7bb8a756b1009297a3ce5c9597ff89ddd
Former-commit-id: 649af5bc35a4c0ae8fd42627695b71096e318bb0
10 years ago
James South
68ff5669c0
Supports indexed png when quality is set to <= 256
Former-commit-id: 83d6dd94b5db6de3a05d02e5e2884ba2740556ee
Former-commit-id: c41912b1e3b1a957ea9482e7b21de18bae85785c
Former-commit-id: 2504d8cd469282a5e24e0ecc730e391685486519
10 years ago
James Jackson-South
f1d5048731
Partial indexed png implementation.
Image renders but is skewed. Run ImageCanSaveIndexedPng test to see
progress.
Former-commit-id: f1d6faa94679bc7adb9cd20ea0b127504a61a33b
Former-commit-id: d5276cc71dad91c152082b5ab261157c9c0108e0
Former-commit-id: 1d5221d91b15cf6f0eb1f7988c32298d46b4e930
10 years ago
James Jackson-South
e5561fd0ca
Update readme
Former-commit-id: 975011ae67fc3fb584421b7fc3c002d5b7ac39a2
Former-commit-id: b0ea61d36d833b9b64fb093574fbb3239c18133d
Former-commit-id: b306bbcc2fb7f8f00218cc8d77f5de9554e3e6c9
10 years ago
James Jackson-South
56b9d15017
Quantizers now implement threshold.
Former-commit-id: fb4a043db98f56ae1261cb3a7c3b1044798d5f16
Former-commit-id: 6abe27ce1f96183dbd6e1bcd76bb2af0654d21bd
Former-commit-id: 9f742e5ca28a2adb62976f9b73fed8b7d773da16
10 years ago
James Jackson-South
798b159585
Fix Entropy Crop
Former-commit-id: d078a662595f78ac31b27df92fdae70cc5c38731
Former-commit-id: 882d751ab14072058b0e4cfe211c6b602c73b5ce
Former-commit-id: cec29371dc77a78d0b55cd52176cebfb896785dc
10 years ago
James Jackson-South
069cb1c7d5
Add progressive test images.
Former-commit-id: f17e37a77f0296a15ba5c377a644bc13974ecc7f
Former-commit-id: 93491005be759f3bdc09ca368124b0eb4410ef97
Former-commit-id: 7817604c070e829115c6e0b8b1611c9a2f795b91
10 years ago
James Jackson-South
7f2bc1c6c0
Merge branch 'refs/heads/pr/351' into Core
Former-commit-id: a5afbc938d79b4b92c8515d6da26305b3f5aae7f
Former-commit-id: 7a3273c8b06debffc4456e5788f3cd27ce08894f
Former-commit-id: e92c1b31dfd97c50cd85673b3ffeddb4c21e5f4e
10 years ago
Michael Weber
fa15ee21f4
Fix to read of final bytes from buffer.
Former-commit-id: c62c73f69f56cc15038b688c44429c4a8246232c
Former-commit-id: c799ec68bfb06310d208ce53ad5f7bf273090f22
Former-commit-id: 84a29a019c6014c3856952314e8b89a03361ce90
10 years ago
Michael Weber
f3b2d9e2ce
Fix for progressive jpeg decoding.
Former-commit-id: e7b561f3e2fa5887cba36d8c75f5958c9d6140e3
Former-commit-id: f61be1a342f3519305381bf52801bffd843ffda8
Former-commit-id: 014b11004c48b42e30da1c261f5cf184d1d1177e
10 years ago
Michael Weber
7e354e94e9
Fix from go conversion of progressive jpeg files.
Former-commit-id: 57fd2f1db3f7307148ca5c41a9c3a49de817a18c
Former-commit-id: e38409c8ce9c48818f8267167473136dfae88fab
Former-commit-id: 5889a2c095a80eb321c08f6dbb01674f073642d4
10 years ago
James Jackson-South
f5337d0969
Clean up a little to aid debugging.
Also use same method as golang to determine RGB
Former-commit-id: ed8a116fe427e988a36a201b47918c6ec8cc72a9
Former-commit-id: d223da7a28315306f548262ec195a3e0791081c7
Former-commit-id: 3966c55938cb0f351f6a99bdbca48bd651708bef
10 years ago
James Jackson-South
af07fc3958
Cleanup
Former-commit-id: 49673492818d8855ffd3da553d6f2950f49b41ab
Former-commit-id: 4d3cab5c2e711dc5762b14cd3c06353c6db1eb3e
Former-commit-id: 720837a9bd59896031eccd8cef78504a621a6daa
10 years ago
James Jackson-South
3a87134f3e
Fix transparency allocation
Former-commit-id: 85c4d5c0ccd92dce6265040068aeffe851604045
Former-commit-id: 5b59aa6bb210dcc113cee26d2986c172170a9d8e
Former-commit-id: a048ee2bfc5bf0bdbdcbdd709c485ccb6c50d90d
10 years ago
James Jackson-South
cba61c1fb5
Add palette quantizer.
Former-commit-id: 69da68a4a3d8b6a1b0e0ea0f980b90c1f76a5c27
Former-commit-id: 7d3352f72d9aeae1e9a6a37366ef87af6809f3cf
Former-commit-id: df1f8fe540d0cdf3548133acd57693bbda7a9dbc
10 years ago
James Jackson-South
cb4ce3c99f
Merge branch 'refs/heads/Core-Quantizers' into Core
Former-commit-id: 239861ab1b9a51d4419b9792065dde13889df62e
Former-commit-id: 11b9dc42a746382821c2cfa71101bee6ad795e15
Former-commit-id: f48eecab005836aa70c6ac3b3018d813ee5bba09
10 years ago
James Jackson-South
83a73fe4ed
Save all the things
Former-commit-id: 2200b253726edd121f8f96a5fed5083489cd9c18
Former-commit-id: 5d9d3f980e2f04aa5ea56348e86152523796eb13
Former-commit-id: f8fee9b0b95da223a0098d028029f2ce827f6c14
10 years ago
James Jackson-South
36b3f2742d
Interchangeable quantizers 🎈
Former-commit-id: d9c1d3a41b639781c0e44ac921a6de9de59321b2
Former-commit-id: 3b21b6cd0c539bf121d9f88fccf874793de71180
Former-commit-id: 4510bab7605f17c4c85d7793daaa7e24ea2dc55f
10 years ago