Scusatemi..nn riuscivo a capire se potevo usare o meno la funzione imageCopyMerge
Adesso ce l'ho fatta..grazie a todos