dblatex fails to use native image size in pdf export

Bug #627093 reported by Joel Marty
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
dblatex (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: dblatex

How to reproduce:
- Write an asciidoc file with an image:

image::images/xxx.png[] or image:images/xxx.png[]

- Use a2x to produce pdf

a2x -v -d book -f pdf book.asc

The output pdf contains images taking as much place as they can

Original asciidoc file in attachment.
Original image, outputted docbook, tex and pdf also included.

Revision history for this message
Joel Marty (joel-lolnet) wrote :
Revision history for this message
Joel Marty (joel-lolnet) wrote :
Revision history for this message
Joel Marty (joel-lolnet) wrote :
Revision history for this message
Joel Marty (joel-lolnet) wrote :
Revision history for this message
Joel Marty (joel-lolnet) wrote :
Revision history for this message
Joel Marty (joel-lolnet) wrote :
Revision history for this message
Andreas Hoenen (andreas-hoenen-terstappen) wrote :

According to my understanding this is a problem of the used image:

$ identify -verbose logo.png | egrep 'Geometry|Resolution'
identify -verbose logo.png | egrep 'Geometry|Resolution'
  Geometry: 64x64
  Resolution: 2.83x2.83 pixels/centimeter

This means a 22 cm image. Probably you will like to change the image
resolution to a more approppriate value, e.g.:

convert -density 100 logo.png logo_adapted.png

Regards, Andreas
--
Andreas Hoenen <email address hidden>
GPG: 1024D/B888D2CE
     A4A6 E8B5 593A E89B 496B
     82F0 728D 8B7E B888 D2CE

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dblatex (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.