PDF to Tiff changes the font and print out quality not very
PDF to Tiff changes the font and print out quality not very
Hi Loic,
When converting a PDF document to a Tiff Image file, I observe that the font of the PDF document changes. Why is that happening? Shouldn't the image be copied as it is from the original...Looks like the document is getting interpretted or something...Also I have set the HorizontalResolution and verticalResolution to 300 for the Imaging object, and Set the PdfDpiRendering of Viewer object to 300 too. I am also calling ConvertTo1BppFast() on the Imaging object, but the file that gest printed out is not very crisp as compared to PDF printout. (The viewer has a good quality though). How can I improve the printing quality of a Tiff generated from a PDF document?
Thanks
Dabi
When converting a PDF document to a Tiff Image file, I observe that the font of the PDF document changes. Why is that happening? Shouldn't the image be copied as it is from the original...Looks like the document is getting interpretted or something...Also I have set the HorizontalResolution and verticalResolution to 300 for the Imaging object, and Set the PdfDpiRendering of Viewer object to 300 too. I am also calling ConvertTo1BppFast() on the Imaging object, but the file that gest printed out is not very crisp as compared to PDF printout. (The viewer has a good quality though). How can I improve the printing quality of a Tiff generated from a PDF document?
Thanks
Dabi
Re: PDF to Tiff changes the font and print out quality not very
Hi,
IE:
Best regards,
Loïc
PDF contains vector informations for fonts, TIFF format not. It is probably the reason that then rasterized bitmap rendering is quite different from the PDF format.When converting a PDF document to a Tiff Image file, I observe that the font of the PDF document changes. Why is that happening ?
I suggest you to use to print the image before converting it to 1 bit depth thought the ConvertTo1BppFast() method (or try to use the ConvertTo1Bpp() method instead). Also, set the printing quality to high quality using the PrintSetQuality() method.How can I improve the printing quality of a Tiff generated from a PDF document?
IE:
Code: Select all
GdViewer1.PrintSetQuality (PrintQualityHightResolution)
Best regards,
Loïc
Re: PDF to Tiff changes the font and print out quality not very
I agree that the PDF has vector information and Tiff does not have that, but an image is an image and should not be converted while saving as Tiff. Moreover, I tried Zetafax, which prints a document as Tif and when I compared the output of Zetafaz, I see the format is very similar if not exact to that of the PDF.. How is that possible?? I am sending the Tif generated from Zetafax and GdPicture along with the PDF document @ esuuport. Can you please look into this and suggest if something can be done for improvising on it..
Thanks
Thanks
Re: PDF to Tiff changes the font and print out quality not very
Hum... I am a bit confused. I thought you were trying to convert a PDF to TIFF. I don't really understand all...I agree that the PDF has vector information and Tiff does not have that, but an image is an image and should not be converted while saving as Tiff.
Please, attach here (or send by mail at esupport (at) gdpicture (dot) com.) the PDF you are trying to convert and the code snippet you are using to do that.
Best regards,
Loïc Carrère
Re: PDF to Tiff changes the font and print out quality not very
Sorry about the confusion. I have mailed you the files and the code snippet at esupport.
Thanks
Dabi
Thanks
Dabi
Re: PDF to Tiff changes the font and print out quality not very
Hi Dabi,
You didn't specify that you want to get a 1728 * 2156 & (204/196 resolution) file...
Here you code with some modifications in order to improve the output quality:
Best regards,
Loïc Carrère
You didn't specify that you want to get a 1728 * 2156 & (204/196 resolution) file...
Here you code with some modifications in order to improve the output quality:
Code: Select all
GdViewer1.DisplayFromFile ("policy440.pdf")
Imaging1.SetNativeImage (GdViewer1.GetNativeImage)
Call Imaging1.ResizeImage(1728, 2156, InterpolationModeHighQualityBicubic)
Imaging1.SetHorizontalResolution (204)
Imaging1.SetVerticalResolution (196)
Imaging1.ConvertTo1Bpp
Call Imaging1.SaveAsTIFF(\out.tif", CompressionCCITT3)
Loïc Carrère
Re: PDF to Tiff changes the font and print out quality not very
Hi Loïc,
I tried out the code you provided with. The print quality did improve, though not substantially. However, I am still not satisfied wih the font of the tif generated from the PDF file. Is there a way to have similar font if not the same as that of the PDF document??
Thanks a lot for your help.
Dabi
I tried out the code you provided with. The print quality did improve, though not substantially. However, I am still not satisfied wih the font of the tif generated from the PDF file. Is there a way to have similar font if not the same as that of the PDF document??
Thanks a lot for your help.
Dabi
Who is online
Users browsing this forum: Amazon [Bot] and 1 guest