You could use the wallpaper package (https://ftp.cc.uoc.gr/mirrors/CTAN/macros/latex/contrib/wallpaper/wallpapermanual.pdf).
I'd like to center a logo before the title on my PDF title page.I found a recipe on the web using \usepackage{titling} in the metadata, but it failed. Can some kind soul show me how?Many thanks,LRP