We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.pdf Image not clear

Hi There,

We are using aspose.pdf in our application to export charts (in form of image) in pdf.
we are saving our charts as bmp impage.exported pdf do not display image clearly(Numeric values written on the bars are not clear).it is blurred.
Please help.How can we make it a bit clear.is there any property to set for ImageInfo?
hrere is the code we are using

// create an image object
Aspose.Pdf.Image imageToExport = new Aspose.Pdf.Image();

// specify the image file path
imageToExport.ImageInfo.File = imageFileName;// Image file path
imageToExport.ImageInfo.ImageFileType = Aspose.Pdf.ImageFileType.Bmp;
imageToExport.ImageInfo.FixWidth = imageWidth;

// add the image to paragraphs collection of the table cell

I have attached here the exported pdf for your reference

Hello Neeraj,

Thanks for using our products. The reason of image being displayed as blured, may be due to the fact that its getting stretched/enlarged when being placed inside the PDF. However, can you please share the source image file so that we can test the scenario at our end. We apologize for your inconvenience.

If possible, can you please share how you are creating the chart ?