如何用此文件中的图像替换“转到目录”?

如何用此文件中的图像替换“转到目录”?

在下面的代码中,我怎样才能用这个图片在输出 pdf 中?

\documentclass{article}
\usepackage[top]{background}
\usepackage{lipsum}
\pagestyle{empty}
\usepackage[]{hyperref}
\usepackage{blindtext}
‎\SetBgContents{\hyperlink{toc}{Go‎ ‎to‎‎ ToC}}
\SetBgAngle{0}
\SetBgColor{black!40}
\SetBgScale{1}
\SetBgHshift{50}
\SetBgVshift{-9}
\begin{document}
\addtocontents{toc}{\protect\hypertarget{toc}{}}
\tableofcontents\newpage
\section{sec one}
\blindtext
\newpage
\section{sec two}
\blindtext
‎\end{document}‎

编辑:
请注意,图像应使用类似 tiKz 的程序创建。因为我想将输出的 pdf 发送给其他人。

答案1

将图像保存到文件夹中然后进行如下修改:

\documentclass{article}
\usepackage[top]{background}
\usepackage{lipsum}
\pagestyle{empty}
\usepackage[]{hyperref}
\usepackage{blindtext}

\SetBgAngle{0}
\SetBgColor{black!40}
\SetBgScale{1}
\SetBgHshift{50}
\SetBgVshift{-9}

\begin{document}
‎\SetBgContents{\hyperlink{toc}{\includegraphics[scale=1]{image.png}}}
\addtocontents{toc}{\protect\hypertarget{toc}{}}
\tableofcontents\newpage
\section{sec one}
\blindtext
\newpage
\section{sec two}
\blindtext
‎\end{document}‎

下面的结果:图像周围的注释框,来自超链接。

结果

相关内容