Newly created PDF does not work in PDFOPT
Posted: 2008-06-16T21:14:03-07:00
I have a routine that creates a PDF from many JPGs. This is done by first using ImageMagick/Ghostscript to convert each JPG to a PDF, reducing the size of the image. Then, using PDFTK, I combe all the PDFs into one multi page PDF. The use of PDFTK is because using ImageMagick to combine the PDFs into one PDF resulting in a rerendering of the images with significant artifacts.
This routine was fine until I discovered a problem with this files on our web site. It has been noted that they are not set to "Fast Web View" (ie the files are not 'linearized'). I found the Ghostscript tool called PDFOPT but I can not get it to work on the files created by the process described above. It is successfull with other PDFs.
Can any one help here? I'm looking for what is wrong with the PDFs I have created, or for a tool that can 'linearize' the files to "Fast Web View" from code (VBA).
Samples of files that do not work can be found at - http://www.awm.gov.au/diaries/seasia/fo ... folder=656
Sample of files that do convert with PDFOPT can be found at - http://www.awm.gov.au/diaries/ww1/folder.asp?folder=868
Thanks in advance
John
This routine was fine until I discovered a problem with this files on our web site. It has been noted that they are not set to "Fast Web View" (ie the files are not 'linearized'). I found the Ghostscript tool called PDFOPT but I can not get it to work on the files created by the process described above. It is successfull with other PDFs.
Can any one help here? I'm looking for what is wrong with the PDFs I have created, or for a tool that can 'linearize' the files to "Fast Web View" from code (VBA).
Samples of files that do not work can be found at - http://www.awm.gov.au/diaries/seasia/fo ... folder=656
Sample of files that do convert with PDFOPT can be found at - http://www.awm.gov.au/diaries/ww1/folder.asp?folder=868
Thanks in advance
John