I have an image with some text. I want to attach this image in the main document while hiding the text on the image. Below is the screenshot of the image-
I am using trim and clip options provided by includegraphics to achieve the same. Below is the code snippet:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\centering
\includegraphics[trim={0 0 0 1cm}, clip, width=10cm]{text_image}
\caption{An image with hidden text}
\label{fig:example}
\end{figure}
\end{document}
Please see a screenshot of the generated document below:
In the default setting, the text is hidden. However, when I move the mouse over it and click to select, I can see this text.
I really want to crop/hide the text. Any workaround, please?

