0

With

\begin{figure}[H]
        \includegraphics[width=\linewidth]{boat.pgm}
\end{figure}

I got Unknown graphics extension: .pgm

Is it possible to load a pgm file to figure environment?

  • You should search for graphic rules, then you could let it convert the image automatically when encountered (you'd need to have a converter installed though). – TeXnician Apr 18 '18 at 14:39
  • BTW, It has nothing to do with figure (which isn't really needed here anyway). The question is can \includegrphics handle .pgm format? – John Kormylo Apr 19 '18 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.