James Jackson-South
1f32cace7e
Finish resize modes [skip ci]
Former-commit-id: 7f2b4f6be701e280da5697663ecfb33daead5c8f
Former-commit-id: 3a71ce1ae1387d1647a2fefc3f53122a5b717c3b
Former-commit-id: 6b203558a57cd9623a67982213e004f5d068763f
10 years ago
James Jackson-South
b1156feb3e
Begin add ResizeMode [skip ci]
Former-commit-id: 7d28a87716e4b7c2dea73bc0fb804873d30372f6
Former-commit-id: 433c2d3c310ed0e361c42601ae4432d97a074fcf
Former-commit-id: abf2e280afbcc9bc0d02cdfe74921f2763ce0f8d
10 years ago
James Jackson-South
a0168a6709
Ensure nothing is preserved if previously allocated
Former-commit-id: d83f70acf8d55f37023f84aa46b5918db3b44477
Former-commit-id: aa82f2434e299dfdc5da233d2134e40f5cba563e
Former-commit-id: 501d485d858549d12cd406fe855e18a9a00c3282
10 years ago
Jonas Frost
ec1e4eafaa
Optimized Rotate() to use pre calculated rotation matrix
Former-commit-id: f54c50b9425657fa4cc899838b96c9f8a6529017
Former-commit-id: 819dd1dc7b3dd5d2824ef07ce39ef8ee791f8d40
Former-commit-id: 721b476e0647f7eb6f2a4e7fff037354215a7e81
10 years ago
James Jackson-South
b4b5efea03
Project build + testrunner [skip ci]
Former-commit-id: cd4cf4e1c23f337e6dec1c4bdd8881fbd17f8420
Former-commit-id: 0ae0792e140b9d09ca84b73001f28dae862e8b7c
Former-commit-id: b99728903470f7b7188452f1826ccf11071df399
10 years ago
Dennis Fischer
cb2be98d02
Fix project.json files
Former-commit-id: 64ca2df82c876e3804f55ce5c3a524339e672631
Former-commit-id: f8be613634c7a90080618196f73dbd8bce223875
Former-commit-id: dda5186e2e954a2abe2f65f465acb75c4d2a615c
10 years ago
James Jackson-South
fcec5ed399
Switch to RC2 [skip ci]
Former-commit-id: 5dac15ae24465dbaa82fe2210048e49200cbc253
Former-commit-id: b87f2acfce66ac4aeda48cbf6b999bcc8e970c8e
Former-commit-id: 2d52ca137b5146f454da3d8677f7a898a65f4a54
10 years ago
James Jackson-South
8f010e6f34
Save as Png should accept quality parameter.
Former-commit-id: 61d66fea55c703113aa99a1c9f6619a21c0dae78
Former-commit-id: caa452215871358f1d154b890ab04b1730535964
Former-commit-id: 2b75e0496c82ceeedc7c8fab1734cf464ad86c21
10 years ago
James Jackson-South
434f0088ad
Performance improvements + tweaks
Fix issue #321
Former-commit-id: 9e975d942c48badeffa623cedfb5740645e4fd42
Former-commit-id: 30d157147ef9038228b2e283531ab383fdb4813d
Former-commit-id: 7c32b6c8b267e02c6e9f5cde9a2a2da2330e8971
10 years ago
James Jackson-South
99e7bf580c
Add Bootstrapper
Former-commit-id: 3697a99fa9f1578be79fe7c25ab0c80621284486
Former-commit-id: dff38d2a7517949e251371504082ec4d767f257e
Former-commit-id: daa364a34287743b2bc6cf667268c7059a9aa9f4
10 years ago
James Jackson-South
bf941b5e8a
Wild stab at NET 4.5.1 support.
Former-commit-id: 2f49fc967eead9257c37dc7f078457bf4aa8eeee
Former-commit-id: 554edbeddb9f5af65b382b8b24e50f6d81bca6a9
Former-commit-id: 865f221f1449e37b210720a7a232bf53dfc83a34
10 years ago
James Jackson-South
d09629722e
Never use floating point to set array sizes 😈
Fix issue #380
Former-commit-id: a29ce1d8aaafaaaf4f2436b7c112860f39e4636f
Former-commit-id: a37dcea6a5bdf5ee48cf7d3f2ef1d4498c5f8d32
Former-commit-id: a8dae8a8bf62a75b936db60b6eb729ad314be2f6
10 years ago
James Jackson-South
17bc2ad05f
Add benchmarking
Former-commit-id: b49aa6d4012cc28d93b0f2c680d4de6d10aa09bb
Former-commit-id: a59176e8bda26889d71fde5d239837bc0994ce79
Former-commit-id: 2a7361abe1a31ab578c0b85d0492eacea12cb8a4
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
zabulus
e791c92daf
Add support for .NET 4.5.2
Former-commit-id: ee5f09ffb1e1e1eb96c2334ce017a0d530f8eb78
Former-commit-id: 2a8bc84046fb5f3c6bb2d831a5003a0e4baadd48
Former-commit-id: cf3c96e4547d0c4152fdd017fbc94fe07f85e3b2
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
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
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
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
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 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
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
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
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
36b3f2742d
Interchangeable quantizers 🎈
Former-commit-id: d9c1d3a41b639781c0e44ac921a6de9de59321b2
Former-commit-id: 3b21b6cd0c539bf121d9f88fccf874793de71180
Former-commit-id: 4510bab7605f17c4c85d7793daaa7e24ea2dc55f
10 years ago
James Jackson-South
5e697a3ffc
Shift to new namespace
Former-commit-id: e196c8b9f6e869acc06059fa18c5af33dd02d537
Former-commit-id: 8763566c1d28c8606cbebe1d70fd35d17b880876
Former-commit-id: d44c34c382ab783f3f9b26906981970363f44b8f
10 years ago
James Jackson-South
9f6ad2cf84
OK actually now it works.
Former-commit-id: 6e7d3b8ca5887d468411011051e33ff0b375a676
Former-commit-id: 24528949db6743b12ad060fa19f5f6a889ba89d8
Former-commit-id: 5165f068be0bd610b313c692900c523d2f6ba8cb
10 years ago
James Jackson-South
77aa1d8fd8
It works.
Don't break it!
Former-commit-id: 569020216c8921de469c664f7e61454ab347579f
Former-commit-id: 9898b241446dd7ec5707821c0311d8aa42de2e09
Former-commit-id: 7bba69c1215a334bc83168ececcfe9948f296c33
10 years ago
James Jackson-South
67ad4ae21e
Add Wu Quantizer
R & B are reversed.
Former-commit-id: 92632679d9c7a1440e51e42bb23c264c2b8c4dad
Former-commit-id: 84f98b9f6124e93b61c43dafc28442f8fac92487
Former-commit-id: 043e6b98103678de70bc41857c52b81d22daca6d
10 years ago