added megapix-image.js