James Jackson-South
ef65706d96
Add png encoder
Former-commit-id: b222f96370adf0a3f87d3e2d762e270fac829a5a
Former-commit-id: eecf02f023c9d43ff3e54dd4fcfbfbfdde22f543
Former-commit-id: 03bf7ed3356ee33b96e8dcff9b7a53b26e8f919f
10 years ago
James Jackson-South
d2af8123b4
Fix GETSET benchmark
Former-commit-id: 59173a2ea1f93e0b84a7ca026d572a721a166b5f
Former-commit-id: 2174f77edb68a8c348b20b34e9e0046f3a9eae69
Former-commit-id: 238d14a0644251f40dc75f8cd10f98e4d5ed94cc
10 years ago
James Jackson-South
eff93ab558
Fix Color equality test
Former-commit-id: 0c56d5ebf2db246bc725cac0a7dd74b82e48d579
Former-commit-id: 1041547e752303bdac6677d4a482e349784fa8aa
Former-commit-id: daef0c97bd5bd5eca5bd3398cb66b719e8f7b6ef
10 years ago
James Jackson-South
20c65011ac
Now Color
Former-commit-id: df0c84ebe32444c8e2bf964f839af8fd6b80d196
Former-commit-id: af528ad7c73c8c20f1f1fb5f0e4864bc00dfc4ee
Former-commit-id: e62c836d6621e86a03386c83867d4dbcb668dc5e
10 years ago
James Jackson-South
f5e73368a1
Faster clamp
30% performance increase removing ternary operator.
Former-commit-id: 9664ddb7da1c63be4034d0466ac10560db42edf0
Former-commit-id: 019ec4638e02acdf8bafc1f251859a25f75f07d2
Former-commit-id: 9b608a6ba964226e0f45d023d466f207aa24c796
10 years ago
James Jackson-South
a16a10a639
Benchmark clamp
Former-commit-id: ecfd869a3c6f282f03f38239b0dc0a204d3bf565
Former-commit-id: 4ad46c7929a15caebfe440eb7610617e97872a0b
Former-commit-id: dfdcfa618c48e66921be1ebb395183de6785323c
10 years ago
James Jackson-South
15711f6a11
Use blitting, cleanup code.
Former-commit-id: a52a42b2bfb7b00e838d5c5108c7eaec8bf1da95
Former-commit-id: 495ad3d53a5d04e510dffb7b1f2f71e3fc7b28d1
Former-commit-id: df993deb570146848acce1064c2a6a960ec7d6f2
10 years ago
James Jackson-South
dc80f36e76
Faster... Much Faster...
Former-commit-id: 72030d1552aad7da681b03900ffe614bb8fee3d2
Former-commit-id: 13219f66ec6a6f6e3d61eddd8102810ab4b948f7
Former-commit-id: 356cddebc1dd634474e0b5ddc450318d5b21bff3
10 years ago
James Jackson-South
db714b9767
Getting there....
Former-commit-id: 52d18a5b7db2755316ced3502b012186b6eebf96
Former-commit-id: c03f4bd0c6cf3701e9cd9244b43425c1d5e7c32b
Former-commit-id: 794deb40b750df545be1aacff66677ea4443190b
10 years ago
James Jackson-South
b04b6298e0
IPixelAcessor<TPacked>
Former-commit-id: 5b04e85fc18ebe98bd122766c58379a1666d0cbb
Former-commit-id: 6e626d6a6e55aa75922a3c1aeeb4094390b4e185
Former-commit-id: f5293704eec3ece4aceaebff57218bce383d02e8
10 years ago
James Jackson-South
3878893980
No need to store the firstpass image as a variable.
Former-commit-id: a1f0b1c9a76b4bf24a704cfd95a922b11ded8189
Former-commit-id: df58b4f394a68e48fd3755ce250ec4ec062cc62f
Former-commit-id: 9234222f848afbdf9461e16ea76974fe56da37a6
10 years ago
James Jackson-South
aaaacf12ec
Avoid activator
Former-commit-id: 369a59330765de72829d5b2e6eec83cdb18a3f03
Former-commit-id: 8611d5b3aebe7f155a80598eeff86c707c614e64
Former-commit-id: 862e506ccc0485d075b4afa2c514c6619823f1f5
10 years ago
James Jackson-South
c1cea3b06e
Trim back to basics
Former-commit-id: 3cca13c49abcf0e9a5a394794153406084d2e19e
Former-commit-id: 767a3db69cf4adecac58c58a84891b736ada79eb
Former-commit-id: db1a5b695cc73951becdff9b31535b8f7b03e75b
10 years ago
Sverre Rekvin
860f82ca4e
Rotate and skew, shorter code fewer if, better math
Former-commit-id: 1c43328c71d549a566fe1c3a655f97c9ce9fad05
Former-commit-id: db8c7b880c3f17b85feb7277477eddc50f6dffb5
Former-commit-id: 405ff7e2dccdc33b5cbf53a07208a57528616c6b
10 years ago
Sverre Rekvin
d6fd816ad9
First working version
Former-commit-id: 9a29900c60ed46679ec35b19764f2716a071cdcc
Former-commit-id: 5d27440cde0a1b795322f33df43c1e23a5686158
Former-commit-id: 94ca246cfdf0d6ad960284d4dcd626632d15c300
10 years ago
James Jackson-South
7d5c59a957
Update tests project
Former-commit-id: c0a495576e61aa994a704a25e001b591f744af86
Former-commit-id: 37f290345ab4537ee835cb17123e03ea5466748f
Former-commit-id: 7a8f501a0f1a1b0611bb4b46d610a1f9743746b6
10 years ago
James Jackson-South
02dd654d97
Update dependencies to RTM
Former-commit-id: cb35519c9df4004aaca655c7796ffab4270c12c1
Former-commit-id: d810fa84b548c367af73c54c9cd0f4d4a5bd61ff
Former-commit-id: aaf866274811d7c09fecaa08c4887361582d1602
10 years ago
Sverre Rekvin
3ab4c9311a
Inv matrix, traget size of image was wrong
Former-commit-id: b62be965af469e6c365f57261b5790ac05475329
Former-commit-id: 621c23abc663803c7b49e81ce3e576a2042dc740
Former-commit-id: e133d3a733742ec6038f8fb9f2053731e6f44618
10 years ago
Sverre Rekvin
00546c2f1c
Mad code simple as pssible
Former-commit-id: a54d5643736150d029ae1fbdbf8866de0ed9cc19
Former-commit-id: 35ff5d480c7082b92b37d1ebeda1b88a57a9235f
Former-commit-id: d1872fb301e23d0fdbbe085223ed8838bcc8ef63
10 years ago
Sverre Rekvin
d1c73acb91
I suspect that resize is aslo worng
Former-commit-id: 02a07dbd5b84292e2b5fea6c4dd164d323a9a4cf
Former-commit-id: a45041a6f7cf0b1eb6ba88ed68545e4375cf6890
Former-commit-id: 3ab6536cddbc2e09b20ce54b1334ca1f3e5aca88
10 years ago
Sverre Rekvin
10dabe43bf
50 degree problem
Former-commit-id: 0520faa2f766ec02358fce15ec7207dc3f05a2fa
Former-commit-id: d09c6d305cb917e513a2f0a85a7e236bb115e7a2
Former-commit-id: f3d80d94646b8ab67d41168ef35cdcb4dd3e2359
10 years ago
James Jackson-South
c62d3743f6
Fix test
Former-commit-id: 302b5639e0f0c3dba963ea2c7429abb65c86861b
Former-commit-id: 33439cbea2ed55023f43dc2e61306f1c9f9d49ef
Former-commit-id: 9f2431ff52358e9fc56511f855b2b5bb8f4133f1
10 years ago
James Jackson-South
53199d0592
Fix namespaces
Former-commit-id: 5e9d8e0d98e6bed499d71b0cab005c2c253ec917
Former-commit-id: 87cc61833ac266b0795f93a8c3a46ba84796e726
Former-commit-id: 2d3e58fe24556ae5701d00236b10125f878b4b63
10 years ago
Sverre Rekvin
6147ca03d9
a smal bug
Former-commit-id: c6e0afbd230747057de8314c9599821c69dc1ffe
Former-commit-id: be47dfa7a12de85db15a8c00ac434952213fafbb
Former-commit-id: 891a14bf95046a3a8eb5108c6e389060a01a5094
10 years ago
James Jackson-South
3dbad0c44a
Use PixelAccessor
Former-commit-id: 9b7174022ac6745534acff3ed69718d143e91e6f
Former-commit-id: f8d1e182dec104b3c77fec79cd4d7c00a299a70f
Former-commit-id: 98f22a9d62b5133aeba4b4525a71b2e6c2b18133
10 years ago
Sverre Rekvin
8bb74abd47
found stepping bug
Former-commit-id: ee2d54efce687030938c51f5886331974183cbd4
Former-commit-id: 8c080d5a56232ce06304afecb56ac339dd677689
Former-commit-id: 06bb22b1b2c9f757a52194a79641eb56d9d747aa
10 years ago
James Jackson-South
7a4ff15257
Flatten namespace [skip ci]
Former-commit-id: 16779a3ac82e4d9ca67d4b9dd318b443c12e0949
Former-commit-id: fd491dea8ad3366ca25c6f7cf0760addadb6f2d4
Former-commit-id: 1c04febd3c3b9e84f4ea724707caacca73237b40
10 years ago
James Jackson-South
b20dbecd64
Sort properties to match other methods
Former-commit-id: 324600bc34112a33bbc9098bc17d1881891ad662
Former-commit-id: d772829a36fcc56cd70c8aca3bc65117518f8ff1
Former-commit-id: fb1f274592d46f295e049555b80a4376765a9ba3
10 years ago
James Jackson-South
2ffee6bf4f
Do not dispose of source Fix #404
Former-commit-id: 5bcb4977e45de08f9c1c0c15583dc5140356609f
Former-commit-id: 5f21f6f1488a284413427231b76e0ad71eca9240
Former-commit-id: 8a227c50ce892ce7a1189015f3a2bbbb26c6e20d
10 years ago
James Jackson-South
a56be055a5
Fix 1D resize + performance tweaks
Former-commit-id: 6a3854cdfd8fa47b3e49dfdd5a4a116a7eace69d
Former-commit-id: 620f3c76756cfc7176d05fe20ae108b2a7f0da6e
Former-commit-id: 9829703cea2c316e5a6800b844450b0a9c14f301
10 years ago
James Jackson-South
be101c6029
Moar resize and skew [skip ci]
Somebody help me fix skew please.
Former-commit-id: 4c22456179078f77a0f523a9b4f6eb3af2da42be
Former-commit-id: 3fc9f06730164cffa4d6ca23e43dbd8e81869bf8
Former-commit-id: 357a39fe9c72ae0584e0b05014a6759b2b3af547
10 years ago
James Jackson-South
4b54be51ae
Begin smarter rotate/skew maths [skip ci]
Former-commit-id: b2ad022ef5c2d8acc22e5a8d4133fc3cb26aac65
Former-commit-id: d0631f99f8aef3b71b44252f0c17ded9a926ec3d
Former-commit-id: 5c7ff70d77fe8d5e56cab00db8fa681912fe4006
10 years ago
James Jackson-South
2c4b92c0de
Enhancements.
Add pad (It rhymes 😸 )
Expand canvas on rotate. Fix #370
Former-commit-id: a8eb68c244d2aa76b4b7781474ba52ec39627b89
Former-commit-id: 9787dc29aae164752692f611fb18a6be4530a9f2
Former-commit-id: 0a2030e8d3c692394875f8014128715959aaa0bc
10 years ago
James Jackson-South
65a63e7521
Fix Resizer
Fix #394
Former-commit-id: 490723c7f33cbab80264901ad252541a44b1dc73
Former-commit-id: 60edb602bc6236d29495081697e2f385aaa84320
Former-commit-id: abf91473873cfad473325c0af36a7026f5e40709
10 years ago
Patrick Ammann
0e2b11b732
#392 add support for negative height in bmp files
Former-commit-id: eb6e82c54beabe1aa3b0a112561f07b0d1d290f9
Former-commit-id: d3121807246bb1798eeadabe2dcca7a7b5fea382
Former-commit-id: ece8ac1d7f29bf096d16481af5e42f63e2de71e0
10 years ago
James Jackson-South
5839b2dc0d
Finish ResizeModes proper
Former-commit-id: 4582848b6fb5eee5c57c3a087ebd754015afe7b0
Former-commit-id: 79bf4fed23de01d328004558b9d1389ededc6192
Former-commit-id: 0ffc0e8c7fb9b123b251123f1aeb66612a09d089
10 years ago
James Jackson-South
3286c0b20d
Finish resize modes [skip ci]
Former-commit-id: 7f2b4f6be701e280da5697663ecfb33daead5c8f
Former-commit-id: 3a71ce1ae1387d1647a2fefc3f53122a5b717c3b
Former-commit-id: 6b203558a57cd9623a67982213e004f5d068763f
10 years ago
James Jackson-South
8bfa9b9fa9
Begin add ResizeMode [skip ci]
Former-commit-id: 7d28a87716e4b7c2dea73bc0fb804873d30372f6
Former-commit-id: 433c2d3c310ed0e361c42601ae4432d97a074fcf
Former-commit-id: abf2e280afbcc9bc0d02cdfe74921f2763ce0f8d
10 years ago
James Jackson-South
ea54d819c6
Project build + testrunner [skip ci]
Former-commit-id: cd4cf4e1c23f337e6dec1c4bdd8881fbd17f8420
Former-commit-id: 0ae0792e140b9d09ca84b73001f28dae862e8b7c
Former-commit-id: b99728903470f7b7188452f1826ccf11071df399
10 years ago
Dennis Fischer
5b15627caf
Fix project.json files
Former-commit-id: 64ca2df82c876e3804f55ce5c3a524339e672631
Former-commit-id: f8be613634c7a90080618196f73dbd8bce223875
Former-commit-id: dda5186e2e954a2abe2f65f465acb75c4d2a615c
10 years ago
James Jackson-South
0ae52e55c6
Switch to RC2 [skip ci]
Former-commit-id: 5dac15ae24465dbaa82fe2210048e49200cbc253
Former-commit-id: b87f2acfce66ac4aeda48cbf6b999bcc8e970c8e
Former-commit-id: 2d52ca137b5146f454da3d8677f7a898a65f4a54
10 years ago
James Jackson-South
32c686f550
Performance improvements + tweaks
Fix issue #321
Former-commit-id: 9e975d942c48badeffa623cedfb5740645e4fd42
Former-commit-id: 30d157147ef9038228b2e283531ab383fdb4813d
Former-commit-id: 7c32b6c8b267e02c6e9f5cde9a2a2da2330e8971
10 years ago
James Jackson-South
1e12a94764
Add first Color benchmark [skip ci]
Former-commit-id: 006050b92f52249aa660d7ee0215782bff582c89
Former-commit-id: 79db24d98a125ff43dc80774640d0ce4e558c63a
Former-commit-id: cf230c3526bcbb1c6f54d449e0cd46458597c100
10 years ago
James Jackson-South
339ca3d86b
Add benchmarking
Former-commit-id: b49aa6d4012cc28d93b0f2c680d4de6d10aa09bb
Former-commit-id: a59176e8bda26889d71fde5d239837bc0994ce79
Former-commit-id: 2a7361abe1a31ab578c0b85d0492eacea12cb8a4
10 years ago
James Jackson-South
ad03cd5390
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
d476751d9d
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
184c3821f2
Fix missed test
Former-commit-id: 3b52150021ce6a3fbcdbf027c93d0320109e9d1b
Former-commit-id: 8f48ba4a2e3f37de5e4bd87ae1a176806c344791
Former-commit-id: aba9c60d1a03fff0ad4eb463143ef9a8ecd276b2
10 years ago
James South
b313504553
Fix memory leak in sampler tests
Former-commit-id: 4b9ffafdd826522b192bfeb8411faefee7621a16
Former-commit-id: 560f124d694ee156b4a1e7e6a0c2d92ee87edc0e
Former-commit-id: 672cf548c6014bfbd4ec4453d1b029e11091f533
10 years ago
James South
b4ff2a5fb2
Add Skew, Enhance Rotate
Former-commit-id: 55c3fee46aa082cc2cca3232580ed42d6d40a1e1
Former-commit-id: ab1b89f66aca40b6d2afe262ab937d768cae67af
Former-commit-id: ef13eccfc48a91a3adc99eaf0b746486d069bac1
10 years ago
James South
3c2a82df54
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