Re: irreversible convert to pdf
Maciej Pilichowski <[email protected]>
| Newsgroups | gmane.comp.video.image-magick.bugs,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
> Does your PNG image have a virtual canvas associated with it? I am not aware of this (I mean, I didn't do anything to this image manually). But my point is not what the source image file (.png, .jpg) contains, but the problem with converting pdf back to the image. I.e. the information is in the pdf for sure, because I can see good quality there, now I would like to convert pdf file to png (lossless format) keeping quality of pdf file. > Add > +repage. Here we go: # convert x.png x.pdf Both files, the same quality (visually). # compare -metric mae x.pdf x.png null: 1769.99 (0.0270083) # convert x.png +repage x.pdf Now x.pdf is smaller than before, but: # compare -metric mae x.pdf x.png null: 1769.99 (0.0270083) I get the same values. And the key part: # convert x.pdf y.png I get the same size image, but the content is so tiny -- all data (non-white pixels) are put in the left, bottom corner. Maybe I could attach all three files? Kind regards,