### Resolve warning: PDF inclusion: found PDF version 1.5, but at most version 1.4 allowed

I have found the option to include images in my documents in PDF format to be much more convenient than using image formats such as PNG or JPEG.
At least in my documents (which I compiled with pdflatex), the images were generally better-looking and sharper.

A minor problem with this solution is that pdflatex in my default document setting seems to have issues with PDFs of “newer” versions. While there was no visible defect with the resulting document, pdflatex generated a warning per PDF file included. This warning looks as follows:
PDF inclusion: found PDF version <1.5>, but at most version <1.4> allowed
Although, there are no visible problems with this, I hate to ignore LaTex warning, because I fear that they sooner or later will result in real issues.

Happily, a slight change in my document preamble eliminated the warnings. I just had to set the PDF minor version to the version of the PDFs I included in the document:
``` \pdfoptionpdfminorversion=5 ```
This option tells pdflatex in which version it should output PDFs. So, as a nice side-effect of eliminating the warning, my PDF documents are now also of a newer version.

## 12 thoughts on “Resolve warning: PDF inclusion: found PDF version 1.5, but at most version 1.4 allowed”

1. You’re welcome! It is nice to hear that even more than six years after I wrote this post the solution still works :)

2. Thank you so much! Found this as the solution to get less warnings for my included PDF’s :-)

3. Chorche says:

~~~THX~~~

4. RT says:

Thanks a lot!

5. juan says:

worked perfectly at last one solution… tbanks a lot!

6. Rudolf says:

thanks!

7. You’re welcome! I do not know of any drawbacks. Theoretically, there might be incompatibilities. That is, older packages that have problems with newer PDF versions, but I guess such problems would raise errors during compilation. So far, I haven’t seen any such packages or other problems.

8. Anonymous says:

Works very nicely. Are there any drawbacks ?
Thanks

9. Germán says:

I had to put it before the document declaration in order to work:

\pdfoptionpdfminorversion=5
\documentclass[hyperref={pdfpagelabels=false}]{beamer}