'I would like to give a Bounding Box value to a file (preferably guess automatically)
Description of the problem
I have used PyPlot to save some plots. And, I'm trying to use them in LaTeX. But, then I get an error: ERROR: LaTeX Error: File path-to-file/file.bb' not found.`
In normal files, I don't have to specify their Bounding Boxes to them to work. But, if I do specify for this one, it will appear (although floating) in my resulting pdf.
I would like convert, either with ffmpeg, magick, etc. the file so I assure there is an bounding box "shipped" into the image.
Current state of affairs:
MWE:
\documentclass[12pt]{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[!htb]
\centering
\caption{\label{fig:burguer-square} Decay equation with different numerical methods}\\
\includegraphics[width=0.5\textwidth, bb=0 0 900 900]{Burguer900.png} # specify Bounding Box
\end{figure}
\end{document}
Here is the file: https://drive.google.com/file/d/1FMxVVxgcsrK_Edtoidh_MzPV7KQLchXg/view?usp=sharing
Result:
As you can see, the image is floating, furthermore, I have to specify where it is.

MWE2 (without bb and logfile)
As required by @samcarter_is_at_topanswers.xyz,
\documentclass[12pt]{article}
\usepackage{graphicx}
\graphicspath{{Resources/Img}{Resources/img}{../../Resources/img}{../../Resources/Img}{~/PP/wlq/Resources/img}{~/PP/wlq/Resources/Img}
{../../Resources/img/General}
{../../Resources/img/General2}}
\begin{document}
\begin{figure}[!htb]
\centering
\caption{\label{fig:burguer-square} Decay equation with different numerical methods} \includegraphics[width=0.5\textwidth]{Burguer900.png}
\end{figure}
\end{document}
RESULT:
error log: https://pastebin.com/TsN0nkRy
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
