made wrapper for imager.js