Using texlive 2016 and TeXstudio 2.12.6, the following example worked:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[resolution=300]{figure.png}
\end{document}
Then I did this:
tlmgr update --self
tlmgr update --all
Now, the same example gives the following error:
! Package keyval Error: resolution undefined.
How can I figure out what changed, and in which package(s)?
Best Answer
The resolution key was amongst a rather large number that had 'appeared' in
pdftex.def
but were not supported ingraphics
and were undocumented. As part of the process of bringing.def
support back 'in house' to the LaTeX team, these various keys were removed with some then being re-introduced in thegraphics
core (and documented). Theresolution
key is not currently supported: the team would need to see good reasons for adding this to the main body ofgraphics
.