Issue with pulling embedded TIFF images from PDF
Posted: 2008-07-24T07:48:32-07:00
Hi all,
I work for a company in the insurance industry. We get a lot of electronic form images sent to us in PDF form and we upload everything to our system in TIFF format. So I have been working on a piece of software that runs in the background and connects to our email server and pulls down emails with attachments and runs them through ImageMagick via JMagick. The issue I'm running into is that the image in the PDF is being shrunk somehow when its coming out. When I open the PDF in Acrobat Reader and save it to TIFF I get large, clear TIFF images. When I save the TIFF using ImageMagick, it is smaller and the text becomes virtually illegible as a result. I tried doing an automatic 25% scaling up of the image as I pulled it out but because I'm scaling up an already shrunken image, it just makes the illegible text a little larger, the data is already lost.
I'm not sure how to approach this. It's a real deal breaker for the project and I did my testing on PDF's that just contained text and a few small images (ie letters) and those came out great, it's these inbound form images that are causing the problems. Any help would be appreciated.
- Matt
I work for a company in the insurance industry. We get a lot of electronic form images sent to us in PDF form and we upload everything to our system in TIFF format. So I have been working on a piece of software that runs in the background and connects to our email server and pulls down emails with attachments and runs them through ImageMagick via JMagick. The issue I'm running into is that the image in the PDF is being shrunk somehow when its coming out. When I open the PDF in Acrobat Reader and save it to TIFF I get large, clear TIFF images. When I save the TIFF using ImageMagick, it is smaller and the text becomes virtually illegible as a result. I tried doing an automatic 25% scaling up of the image as I pulled it out but because I'm scaling up an already shrunken image, it just makes the illegible text a little larger, the data is already lost.
I'm not sure how to approach this. It's a real deal breaker for the project and I did my testing on PDF's that just contained text and a few small images (ie letters) and those came out great, it's these inbound form images that are causing the problems. Any help would be appreciated.
- Matt