I get an System.ArgumentException: Parameter is not valid.
when calling PdfRasterizer.Draw with ImageFormat.Bmp.
Callstack:
System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
ceTe.DynamicPDF.Rasterizer.PdfRasterizer.Draw(ImageFormat imageFormat, ImageSize imageSize)
ArgumentException from Image.Save
Re: ArgumentException from Image.Save
Support · Nov 6, 2009Hello,
Can you please send over the full stack trace of the error message that you are seeing and also the PDF document which you are trying to rasterize along with the source code to our [^a|mailto:support@cete.com|opennewwindow|Support Team^] so that they can look into this issue further?
Thanks,
ceTe Software Support Team
Re: ArgumentException from Image.Save
Forum member · Feb 5, 2010I also recieve the same error when I run it under Windows Server 2008 R2 or windows 7. Same app runs fine under other versions of windows...
mmgrover
Re: ArgumentException from Image.Save
Support · Feb 5, 2010Could you also send this over to our support team including the PDF you are using to rasterize as well as the full stack trace of error? From this we will be able to reproduce the issue.
Thanks,
ceTe Software Support Team
Re: ArgumentException from Image.Save
Forum member · Feb 5, 2010I sent a sample app and pdf to your support email.
mmgrover
Re: ArgumentException from Image.Save
Forum member · Apr 23, 2010This happens with Png Format as well.
Was this addressed or do we need to send files somewhere to be looked at?
Re: ArgumentException from Image.Save
Support · Apr 23, 2010Hello,
Can you please send over the full stack trace of the error message that you are seeing and also the PDF document which you are trying to rasterize along with the source code to our [^a|mailto:support@cete.com|opennewwindow|Support Team^] so that they can look into this issue further?
Please make sure that you are using the latest DLL files from the website.
Thanks,
ceTe Software Support Team
Re: ArgumentException from Image.Save
Forum member · May 19, 2010We had the same issue when transfering our app from Webserver 2008 to Webserver 2008 R2. Downloading the latest version of the Rasterizer dll's resolved the issue.
Re: ArgumentException from Image.Save
Forum member · May 19, 2010The Latesr version runs great for me on 2008 R2 Server and
Windows 7
mike