I want to use a picture from the internet or from my computer to fill in the cube area. I need it to have a wooden texture. I've read something about tcolorbox and the tikz library, but it didn't help me any further.
This is the cube:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\pgfmathsetmacro{\cubex}{2}
\pgfmathsetmacro{\cubey}{1}
\pgfmathsetmacro{\cubez}{1}
\draw[fill=brown]
(0,0,0) -- ++(-\cubex,0,0) -- ++(0,-\cubey,0) -- ++(\cubex,0,0) -- cycle;
\draw[fill=brown]
(0,0,0) -- ++(0,0,-\cubez) -- ++(0,-\cubey,0) -- ++(0,0,\cubez) -- cycle;
\draw[fill=brown]
(0,0,0) -- ++(-\cubex,0,0) -- ++(0,0,-\cubez) -- ++(\cubex,0,0) -- cycle;
\end{tikzpicture}
\end{document}
The image would be: https://img.myloview.de/sticker/plywood-texture-with-gnarl-and-natural-wood-pattern-400-170218458.jpg



