{"issue":{"pull_request":{"diff_url":"https://github.com/jdriscoll/django-imagekit/pull/61.diff","html_url":"https://github.com/jdriscoll/django-imagekit/pull/61","patch_url":"https://github.com/jdriscoll/django-imagekit/pull/61.patch"},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/40011e8a78e2d0498d4b38389b2fe07d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"40011e8a78e2d0498d4b38389b2fe07d","url":"https://api.github.com/users/fish2000","login":"fish2000","id":378969},"milestone":null,"labels":[],"updated_at":"2011-11-09T22:01:37Z","assignee":null,"comments":1,"closed_at":null,"url":"https://api.github.com/repos/jdriscoll/django-imagekit/issues/61","body":"\r\nMr. Veloso and crew -- I ported these two processors from my fork of the older IK architecture and wrote tests for them. You'd mentioned you were interested in some of that stuff I was working on, and I'd be into doing more if this turns your respective crank(s). \r\n\r\nI can port up the following with minimal fuss:\r\n\r\n* histograms\r\n* ICC profile transforms and soft-proof transforms\r\n* dominant-color extraction and adjustments (this one has widgets)\r\n\r\nfor a little bit more -- an optional cython dependency and setup.py changes -- I will throw in native-speed image processors. If that is interesting to you, here's the relevant bits of the old (halfway-class-based and therefore hackier than what I'm doing now thx to the 1.0 api) implementation:\r\n\r\n* https://github.com/fish2000/django-imagekit/blob/cython-develop/imagekit/processors.py#L35\r\n* https://github.com/fish2000/django-imagekit/blob/cython-develop/imagekit/ext/processors.pyx\r\n\r\n... if that is too outré I will keep that in the tines of my own fork.\r\n\r\nI'm currently testing my new IK mods on a django app that creates a local copy of social and image-similarity graphs from ffffound.com, with like 2700+ images so far. if you are interested in that code I will put it up and setuptoolsify it for yr pleasure.\r\n\r\nThank you,\r\n\r\n-fish","html_url":"https://github.com/jdriscoll/django-imagekit/issues/61","number":61,"title":"Added SmartCrop and Trim resize processors, with tests.","id":2191742,"created_at":"2011-11-09T21:47:05Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/46d7edb6710bf8b964de86d8effa3c2d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"46d7edb6710bf8b964de86d8effa3c2d","url":"https://api.github.com/users/chrisdrackett","login":"chrisdrackett","id":4378},"updated_at":"2011-11-09T22:01:37Z","url":"https://api.github.com/repos/jdriscoll/django-imagekit/issues/comments/2688140","body":"Looks awesome! I'm going to run these tests and check it out locally, then I'll go ahead and merge this :)","id":2688140,"created_at":"2011-11-09T22:01:37Z"}}