DEV: Add overloading function for merge image so that only one loading of library is needed