convert from a picture to pdf doesn't keep the original size

Bug #897009 reported by Removed by request
6
Affects Status Importance Assigned to Milestone
ImageMagick
New
Undecided
Unassigned
imagemagick (Ubuntu)
Invalid
Undecided
broucaries

Bug Description

I'm using Ubuntu 12.04 dev with imagemagick 8:6.6.9.7-5ubuntu1. I have converted a picture to a pdf but it was on 100% zoom in evince upscaled. But I can't say if convert is upscaling the picture on the conversion or if evince (I'm using evince 3.2.1-1ubuntu1) is upscaling the picture.

Steps to reproduce:

1. Create a white picture with a dimension of 100x100 pixel and save it as test.png.
2. Convert the picture with "convert test.png test.pdf".
3. Open test.pdf with evince and set the zoom level to 100%.
4. Make a screenshot of evince and check the dimensions of the white picture (for example with GIMP).
5. In my case the white picture in evince was at 100% zoom 124x124 pixel.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Possibly, this is a duplicate of bug #248329?

Revision history for this message
Removed by request (removed3425744) wrote :

If it is a duplicate it is maybe a regression.

Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

try to add to convert -density 72x72 and report

Changed in imagemagick (Ubuntu):
assignee: nobody → broucaries (roucaries-bastien+bugs)
status: New → Incomplete
Revision history for this message
Removed by request (removed3425744) wrote :

This doesn't change anything. The picture in the pdf document is still 24% bigger than it should be.

Changed in imagemagick (Ubuntu):
status: Incomplete → New
Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

try to add to convert -density 150x150 and report upstream if it does not work

Revision history for this message
Removed by request (removed3425744) wrote :

The dimension of the picture is now 60x60 pixel.

Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

Have tried to report upstream ? If yes please post forum link

Revision history for this message
Removed by request (removed3425744) wrote :
Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

Invalid pdf does not specify size, it is a vector format

Changed in imagemagick (Ubuntu):
status: New → Invalid
Revision history for this message
Removed by request (removed3425744) wrote :

I have now find a solution for this problem and posted it in the linked thread: "The argument -page will control a consistent size in the document. In my case I needed just to use "-page A4" to scale the images to the same size as .odt documents."

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.