Library of functions related to manipulation images using canvas element