Extract "img" into https://github.com/xp-framework/imaging
See xp-framework/rfc#262