Timeline for Cannot determine size of graphic
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 13, 2024 at 6:26 | comment | added | Maxim | As of 2024, this solution stopped working, with the error ! Package pdftex.def Error: Options bblly', [..] natheight' and natwidth' are not supported by pdftex driver: use viewport' instead", unfortunately... | |
| Apr 11, 2020 at 13:19 | comment | added | Yola | but how to get these natwidth and natheight from pdf file? | |
| Dec 5, 2019 at 12:50 | comment | added | Magne | @SV Natural width and natural height, I presume. | |
| Jul 30, 2019 at 18:56 | comment | added | user181417 | What are natwidth and natheight ? | |
| Sep 9, 2018 at 7:30 | comment | added | Trect | Thats a lot and a lot. You have done a lot of help | |
| Nov 5, 2015 at 1:10 | comment | added | Matthew Leingang | Just to add: specificying natwidth and natheight also solved a problem I had with jpgs having incorrect bounding boxes (so the tex file compiles, but the image ends up misplaced). | |
| May 12, 2015 at 20:56 | comment | added | zeroos | user41288 solution is great, but there is a typo in the provided code (dvipdfmx). The following one worked for me: \usepackage[dvipdfmx]{graphicx} \usepackage{bmpsize} | |
| Jul 3, 2014 at 12:09 | comment | added | Bernhard | I used this solution for a png-figure with latex, dvipdfmx and graphicx-package, which worked for me without doing anything additional (2013 TeX Live) | |
| Nov 19, 2013 at 15:17 | comment | added | user41288 | Thank you for the solution provided. I simply added \usepackage[dvipdfm]{graphicx} \usepackage{bmpsize} to my file, and it worked perfectly ! No need to spend time to manually set the bounding box with the time-consuming trial-and-errors method (what I did until this day). | |
| Feb 18, 2013 at 14:31 | history | edited | Xavier | CC BY-SA 3.0 | Typo leading to confusion |
| May 8, 2011 at 15:15 | comment | added | Leo Liu | For dvipdfm(x), one should use dvipdfm or dvipdfmx option of graphicx pacakge, and use extractbb (ebb, xbb) program to produce .bb or .xbb file. bmpsize package can also used to replace extractbb. | |
| May 8, 2011 at 13:23 | vote | accept | CommunityBot | ||
| May 8, 2011 at 12:47 | history | answered | Martin Scharrer | CC BY-SA 3.0 |