Imager::Trim

Imagemagick can do a lot of tricks to automate image processing, as well as it's MagickCore libraries. But how about doing same manipulation just with pure Perl, and using Imager's powerful core as a base? Imager:::Trim is a module which extends Imager to be able to automatically crop empty space around a photo or picture. It's similar as Imagemagick's autocrop, and it can use so called "fuzziness" adjustment to set how much variance in the background there can be. This talk is about the journey from theory to practice, and explaining the steps how the code was evaluated to be put into production (e.g. in a service, which handles hundreds of images daily into perfection).
Length: 17:07
Views 26 Likes: 1
abstract
Recorded on 2016-08-24 at YAPC::Europe
Look for other videos at YAPC::Europe.
Tweet this video