werner wrote:
> I get the following warning for all my images (BTW, most of them are 
> screen captures of an application) as I have not defined a width setting.
>
> [WARNING] createpdf.py:377 Using image 
> C:\Dev\twcb-doc\en\source\_screenimages\initial.png without specifying 
> size.Calculating based on image size at 96dpi [near line UNKNOWN in file 
> UNKNOWN]
>
> With the warning the generated PDF has the above image with a size of 
> about 2/3 of the width on A4 paper.
>
> Would like to get rid of the warnings as they "hide" other warnings and 
> thought to use e.g. ":width: 80%", however when I do this the image 
> above is going to be tiny (maybe 1 or 2 cm wide).
>
> I then tried to use ":width: 14cm", but again the image is very small.
>
> I like to get rid of the messages, but keep the size rst2pdf uses when I 
> don't specify any "width" - what setting should I use to accomplish this?
>   

In the past to get "html" builder to do what I wanted with the images I 
used ":scale:".  If I replace ":scale:" with ":width:" it looks like I 
get what I would like to see for both the "html" and "rst2pdf" builders.

Werner



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to