Is replacing PNGs with JPGs the solution to generating reliable images in PDF files?
up vote
0
down vote
favorite
I generated a PDF from a document that contains many images, mostly JPGs, but some PNGs.
In the doc (Libre Office .odt), the page in question looks like this:
When I "exported" the document to a PDF, that page appears like this:
Flummoxed, I copied the image from the .odt file and pasted it into Paint. I then selected File > Save to see what image type it defaulted to. It was PNG. So, on a hunch, I saved it as a JPG. I replaced the PNG file in the .odt file with the new JPG. I generated a new PDF. The image now generates correctly.
Was this a fluke, or are JPGs more reliable/the preferred image type for use in documents that will be PDFerized?
UPDATE
I replaced six images that were goofed up like this; they were all PNGs until I saved them as JPGs and then replaced the original PNGs with JPGs. On re-generating (exporting) as PDf, all problems were solved.
I did notice too, though, that at least one of the images was quite large (13 MB). I used Irfanview to "halve" it, which took it down to 2.3 MB; I then halved that image, which brought it down to about 690KB. It still looked fine at the size I needed.
pdf jpeg png print-to-pdf
add a comment |
up vote
0
down vote
favorite
I generated a PDF from a document that contains many images, mostly JPGs, but some PNGs.
In the doc (Libre Office .odt), the page in question looks like this:
When I "exported" the document to a PDF, that page appears like this:
Flummoxed, I copied the image from the .odt file and pasted it into Paint. I then selected File > Save to see what image type it defaulted to. It was PNG. So, on a hunch, I saved it as a JPG. I replaced the PNG file in the .odt file with the new JPG. I generated a new PDF. The image now generates correctly.
Was this a fluke, or are JPGs more reliable/the preferred image type for use in documents that will be PDFerized?
UPDATE
I replaced six images that were goofed up like this; they were all PNGs until I saved them as JPGs and then replaced the original PNGs with JPGs. On re-generating (exporting) as PDf, all problems were solved.
I did notice too, though, that at least one of the images was quite large (13 MB). I used Irfanview to "halve" it, which took it down to 2.3 MB; I then halved that image, which brought it down to about 690KB. It still looked fine at the size I needed.
pdf jpeg png print-to-pdf
1
You've got a [print-to-pdf] tag. Did you create the PDF by using a PDF printer driver, or the LO Writer Export to PDF? It's possible that the PDF conversion utility was the problem (it looks like it got indigestion from the pixel density of the image and didn't properly relate it to the image size). Whichever way you generated the PDF, try it the other way and see what you get (if you exported to PDF, load a print-to-pdf driver if you don't have one. Also, try using one of the free web conversion services on the file. (cont'd)
– fixer1234
Nov 18 at 14:47
It's also possible that LO is the problem. If you have access to Word, or say Google Doc, see what happens if you convert the file to .docx and then convert to PDF from that (if the problem is how LO stores it in the .odt, subsequent conversion to .docx may be too late to change it). It may also be fixable by resizing the image before embedding it in LO.
– fixer1234
Nov 18 at 14:47
1
You might find this informative: blog.idrsolutions.com/2010/04/…
– fixer1234
Nov 18 at 14:50
1
Another option to test: Microsoft Office Online is free: products.office.com/en-us/office-online/…. Go to Word, upload your .odt document and save it there as a PDF. See if that has the problem.
– fixer1234
Nov 18 at 15:17
@fixer1234: I used Libre Office's File > Export as PDF...
– B. Clay Shannon
Nov 18 at 15:45
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I generated a PDF from a document that contains many images, mostly JPGs, but some PNGs.
In the doc (Libre Office .odt), the page in question looks like this:
When I "exported" the document to a PDF, that page appears like this:
Flummoxed, I copied the image from the .odt file and pasted it into Paint. I then selected File > Save to see what image type it defaulted to. It was PNG. So, on a hunch, I saved it as a JPG. I replaced the PNG file in the .odt file with the new JPG. I generated a new PDF. The image now generates correctly.
Was this a fluke, or are JPGs more reliable/the preferred image type for use in documents that will be PDFerized?
UPDATE
I replaced six images that were goofed up like this; they were all PNGs until I saved them as JPGs and then replaced the original PNGs with JPGs. On re-generating (exporting) as PDf, all problems were solved.
I did notice too, though, that at least one of the images was quite large (13 MB). I used Irfanview to "halve" it, which took it down to 2.3 MB; I then halved that image, which brought it down to about 690KB. It still looked fine at the size I needed.
pdf jpeg png print-to-pdf
I generated a PDF from a document that contains many images, mostly JPGs, but some PNGs.
In the doc (Libre Office .odt), the page in question looks like this:
When I "exported" the document to a PDF, that page appears like this:
Flummoxed, I copied the image from the .odt file and pasted it into Paint. I then selected File > Save to see what image type it defaulted to. It was PNG. So, on a hunch, I saved it as a JPG. I replaced the PNG file in the .odt file with the new JPG. I generated a new PDF. The image now generates correctly.
Was this a fluke, or are JPGs more reliable/the preferred image type for use in documents that will be PDFerized?
UPDATE
I replaced six images that were goofed up like this; they were all PNGs until I saved them as JPGs and then replaced the original PNGs with JPGs. On re-generating (exporting) as PDf, all problems were solved.
I did notice too, though, that at least one of the images was quite large (13 MB). I used Irfanview to "halve" it, which took it down to 2.3 MB; I then halved that image, which brought it down to about 690KB. It still looked fine at the size I needed.
pdf jpeg png print-to-pdf
pdf jpeg png print-to-pdf
edited Nov 18 at 15:47
asked Nov 18 at 14:09
B. Clay Shannon
4011125
4011125
1
You've got a [print-to-pdf] tag. Did you create the PDF by using a PDF printer driver, or the LO Writer Export to PDF? It's possible that the PDF conversion utility was the problem (it looks like it got indigestion from the pixel density of the image and didn't properly relate it to the image size). Whichever way you generated the PDF, try it the other way and see what you get (if you exported to PDF, load a print-to-pdf driver if you don't have one. Also, try using one of the free web conversion services on the file. (cont'd)
– fixer1234
Nov 18 at 14:47
It's also possible that LO is the problem. If you have access to Word, or say Google Doc, see what happens if you convert the file to .docx and then convert to PDF from that (if the problem is how LO stores it in the .odt, subsequent conversion to .docx may be too late to change it). It may also be fixable by resizing the image before embedding it in LO.
– fixer1234
Nov 18 at 14:47
1
You might find this informative: blog.idrsolutions.com/2010/04/…
– fixer1234
Nov 18 at 14:50
1
Another option to test: Microsoft Office Online is free: products.office.com/en-us/office-online/…. Go to Word, upload your .odt document and save it there as a PDF. See if that has the problem.
– fixer1234
Nov 18 at 15:17
@fixer1234: I used Libre Office's File > Export as PDF...
– B. Clay Shannon
Nov 18 at 15:45
add a comment |
1
You've got a [print-to-pdf] tag. Did you create the PDF by using a PDF printer driver, or the LO Writer Export to PDF? It's possible that the PDF conversion utility was the problem (it looks like it got indigestion from the pixel density of the image and didn't properly relate it to the image size). Whichever way you generated the PDF, try it the other way and see what you get (if you exported to PDF, load a print-to-pdf driver if you don't have one. Also, try using one of the free web conversion services on the file. (cont'd)
– fixer1234
Nov 18 at 14:47
It's also possible that LO is the problem. If you have access to Word, or say Google Doc, see what happens if you convert the file to .docx and then convert to PDF from that (if the problem is how LO stores it in the .odt, subsequent conversion to .docx may be too late to change it). It may also be fixable by resizing the image before embedding it in LO.
– fixer1234
Nov 18 at 14:47
1
You might find this informative: blog.idrsolutions.com/2010/04/…
– fixer1234
Nov 18 at 14:50
1
Another option to test: Microsoft Office Online is free: products.office.com/en-us/office-online/…. Go to Word, upload your .odt document and save it there as a PDF. See if that has the problem.
– fixer1234
Nov 18 at 15:17
@fixer1234: I used Libre Office's File > Export as PDF...
– B. Clay Shannon
Nov 18 at 15:45
1
1
You've got a [print-to-pdf] tag. Did you create the PDF by using a PDF printer driver, or the LO Writer Export to PDF? It's possible that the PDF conversion utility was the problem (it looks like it got indigestion from the pixel density of the image and didn't properly relate it to the image size). Whichever way you generated the PDF, try it the other way and see what you get (if you exported to PDF, load a print-to-pdf driver if you don't have one. Also, try using one of the free web conversion services on the file. (cont'd)
– fixer1234
Nov 18 at 14:47
You've got a [print-to-pdf] tag. Did you create the PDF by using a PDF printer driver, or the LO Writer Export to PDF? It's possible that the PDF conversion utility was the problem (it looks like it got indigestion from the pixel density of the image and didn't properly relate it to the image size). Whichever way you generated the PDF, try it the other way and see what you get (if you exported to PDF, load a print-to-pdf driver if you don't have one. Also, try using one of the free web conversion services on the file. (cont'd)
– fixer1234
Nov 18 at 14:47
It's also possible that LO is the problem. If you have access to Word, or say Google Doc, see what happens if you convert the file to .docx and then convert to PDF from that (if the problem is how LO stores it in the .odt, subsequent conversion to .docx may be too late to change it). It may also be fixable by resizing the image before embedding it in LO.
– fixer1234
Nov 18 at 14:47
It's also possible that LO is the problem. If you have access to Word, or say Google Doc, see what happens if you convert the file to .docx and then convert to PDF from that (if the problem is how LO stores it in the .odt, subsequent conversion to .docx may be too late to change it). It may also be fixable by resizing the image before embedding it in LO.
– fixer1234
Nov 18 at 14:47
1
1
You might find this informative: blog.idrsolutions.com/2010/04/…
– fixer1234
Nov 18 at 14:50
You might find this informative: blog.idrsolutions.com/2010/04/…
– fixer1234
Nov 18 at 14:50
1
1
Another option to test: Microsoft Office Online is free: products.office.com/en-us/office-online/…. Go to Word, upload your .odt document and save it there as a PDF. See if that has the problem.
– fixer1234
Nov 18 at 15:17
Another option to test: Microsoft Office Online is free: products.office.com/en-us/office-online/…. Go to Word, upload your .odt document and save it there as a PDF. See if that has the problem.
– fixer1234
Nov 18 at 15:17
@fixer1234: I used Libre Office's File > Export as PDF...
– B. Clay Shannon
Nov 18 at 15:45
@fixer1234: I used Libre Office's File > Export as PDF...
– B. Clay Shannon
Nov 18 at 15:45
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376448%2fis-replacing-pngs-with-jpgs-the-solution-to-generating-reliable-images-in-pdf-fi%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
You've got a [print-to-pdf] tag. Did you create the PDF by using a PDF printer driver, or the LO Writer Export to PDF? It's possible that the PDF conversion utility was the problem (it looks like it got indigestion from the pixel density of the image and didn't properly relate it to the image size). Whichever way you generated the PDF, try it the other way and see what you get (if you exported to PDF, load a print-to-pdf driver if you don't have one. Also, try using one of the free web conversion services on the file. (cont'd)
– fixer1234
Nov 18 at 14:47
It's also possible that LO is the problem. If you have access to Word, or say Google Doc, see what happens if you convert the file to .docx and then convert to PDF from that (if the problem is how LO stores it in the .odt, subsequent conversion to .docx may be too late to change it). It may also be fixable by resizing the image before embedding it in LO.
– fixer1234
Nov 18 at 14:47
1
You might find this informative: blog.idrsolutions.com/2010/04/…
– fixer1234
Nov 18 at 14:50
1
Another option to test: Microsoft Office Online is free: products.office.com/en-us/office-online/…. Go to Word, upload your .odt document and save it there as a PDF. See if that has the problem.
– fixer1234
Nov 18 at 15:17
@fixer1234: I used Libre Office's File > Export as PDF...
– B. Clay Shannon
Nov 18 at 15:45