Thursday, 25 August 2016 12:10
30 minutes
Intermediate
English
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).
[ Talk ]