PDF 2 TIFF
PDF 2 TIFF
Hello,
i convert a PDF File to Tiff, with Version 8.4.0.3 the conversion success compiled in x86.
The same File with 11.2.0.4 fails with OutOfMemory Error compiled in x86.
If i compile 11.2.0.4 in AnyCPU the conversion success with 1.85 Gb of Ram.
Is the behavior known ?
i convert a PDF File to Tiff, with Version 8.4.0.3 the conversion success compiled in x86.
The same File with 11.2.0.4 fails with OutOfMemory Error compiled in x86.
If i compile 11.2.0.4 in AnyCPU the conversion success with 1.85 Gb of Ram.
Is the behavior known ?
Re: PDF 2 TIFF
Hi,
Could you clarify what you mean by "behavior"?
Kind regards,
Loïc
Could you clarify what you mean by "behavior"?
Kind regards,
Loïc
Re: PDF 2 TIFF
I wonder that 11.2.0.4 needs so many RAM for conversion and 8.4.0.3 not.
Is this a known problem ?
Is this a known problem ?
Re: PDF 2 TIFF
Quick answer: not it is not.
But I don't really know what you are doing and how you are doing it. So to get further assistance you should provide at least a code snippet and the input document used if there is no confidential problematic.
With best regards,
Loïc
But I don't really know what you are doing and how you are doing it. So to get further assistance you should provide at least a code snippet and the input document used if there is no confidential problematic.
With best regards,
Loïc
Re: PDF 2 TIFF
Hi,
Code is just the PDF2TIFF Example.
if (oGdPicturePDF.LoadFromFile(sFile, false) == GdPictureStatus.OK)
{
for (int i = 1; i <= oGdPicturePDF.GetPageCount(); i++)
{
oGdPicturePDF.SelectPage(i);
int rasterPageID = oGdPicturePDF.RenderPageToGdPictureImageEx(300, true);
GdPictureStatus statusConvert = Imaging1.ConvertTo1Bpp(rasterPageID);
if (statusConvert != GdPictureStatus.OK)
return -1;
string sOutFile = Path.Combine(sTmpDir, Path.GetFileNameWithoutExtension(sFile) + i + sExtension);
GdPictureStatus statSave = GdPictureStatus.OK;
statSave = Imaging1.SaveAsTIFF(rasterPageID, sOutFile, TiffCompression.TiffCompressionCCITT4);
The Document is confidential problematic.
Kind regards
Code is just the PDF2TIFF Example.
if (oGdPicturePDF.LoadFromFile(sFile, false) == GdPictureStatus.OK)
{
for (int i = 1; i <= oGdPicturePDF.GetPageCount(); i++)
{
oGdPicturePDF.SelectPage(i);
int rasterPageID = oGdPicturePDF.RenderPageToGdPictureImageEx(300, true);
GdPictureStatus statusConvert = Imaging1.ConvertTo1Bpp(rasterPageID);
if (statusConvert != GdPictureStatus.OK)
return -1;
string sOutFile = Path.Combine(sTmpDir, Path.GetFileNameWithoutExtension(sFile) + i + sExtension);
GdPictureStatus statSave = GdPictureStatus.OK;
statSave = Imaging1.SaveAsTIFF(rasterPageID, sOutFile, TiffCompression.TiffCompressionCCITT4);
The Document is confidential problematic.
Kind regards
Who is online
Users browsing this forum: No registered users and 2 guests