I having trouble inserting a gif file into my overleaf latex document. Here is the code I used:
\documentclass[conference,10pt]{IEEEtran}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{epstopdf}
\usepackage{psfrag}
\usepackage{subfigure}
\usepackage{url}
\usepackage{stfloats}
\usepackage{amsmath}
\interdisplaylinepenalty=2500
\usepackage{balance}
\DeclareGraphicsRule{.gif}{png}{.png}{%
\noexpand\epstopdfcall{convert #1 \noexpand\OutputFile}%
}
\AppendGraphicsExtensions{.gif}
\begin{figure}[h!]
\includegraphics[width=\linewidth, angle = 0] {images/Climate_Simulation_of_Surface_Air_Temperature.gif}
\caption{NASA's Map of Antarctic Ice Flow}
\label{fig:SSBlock}
\end{figure}
This did not work so I replaced the \begin section with this line of code:
\includegraphics[width=\linewidth, angle = 0 {images/Climate_Simulation_of_Surface_Air_Temperature.gif}
Still nothing worked. Please let me know how I can insert my .gif file.
\includegraphics{images/Climate_Simulation_of_Surface_Air_Temperature.png}– David Carlisle Dec 05 '20 at 13:12