2

I am writing a thesis report, and would like to insert images. A majority of the images that I am using are high resolution bitmap. I am using the following to insert the images

    \usepackage{graphicx}
    \usepackage{caption}
    \usepackage{float}
    \usepackage{refstyle}

    \begin{document}

    \begin{figure}[H]

        \graphicspath{ {Chapter1Images/} }
        \centering
        \includegraphics{logo}
        \caption{Typical Moment-Resisting Frame Deformation}
        \label{fig:ch1deformedframe}

    \end{figure}

    \end{document}

This works exactly as I want it to if I put in a basic PNG image, but as soon as I attempt to insert a high resolution bitmap image I get an error saying it cannot find the file. Is there a special way you must go about inserting bitmap-type images?

  • And what kind of file are you trying to include, precisely? – jon Jul 5 '15 at 20:02
  • @jon its just a .bmp file. I have it located in the same folder as the .png. but the png will insert to my document while the bmp gives me an error – Ryan G Jul 5 '15 at 20:04
  • 4
    @RyanG pdftex can not include bmp, you can losslessly convert it to png first. – David Carlisle Jul 5 '15 at 20:08
  • @DavidCarlisle oh, well that is disappointing. Thank you for clearing it up. There is no package you can install to make Latex accept bitmap? – Ryan G Jul 5 '15 at 20:19
  • @RyanG The binary determines what files can be included. The best a package can do is on-the-fly conversion. – Joseph Wright Jul 5 '15 at 20:30

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.