I'm not expecting much and appreciate that there may well be some conversion anomalies but the current output from the Infragistics document engine is unacceptable. I assume that there's something I've overlooked. I've tried png, gif, jpg and even bmp formats, all are rendered to a less than satisfactory level of quality. I've used FOP in .Net to embed images into a pdf without this kind of drop in quality.I'm using infragistic v7.2 and the following code...Dim cellLogo As ITableCell = rowHeader.AddCell()cellLogo.Alignment.Horizontal = Alignment.RightDim imgInnovis As New Infragistics.Documents.Graphics.Image("Innovis_Logo_big.bmp")Dim image1 As IImage = cellLogo.AddImage(imgInnovis)One thing to note is that I'm saving the xml, loading it later and then generating the pdf, but I'm sure that this was an issue before also!Apologies in advance if Mike answers this, I've been asking a few too many questions recently
I 've been working with more detailed images now, and still find that there are quality issues. Is there anyway to improve this further? i.e. no compression
Great! thats made a huge difference!
I think that the reason that this happens is that by default the Documents engine uses JPEG compression on all images, so you will inherently get a loss of quality. In order to get around this, you can set 'imgInnovis.Preferences.Compressor = Infragistics.Documents.Graphics.ImageCompressors.Flate'.
-Matt