You are right that by inserting the image with EncodedImageData and FlateDecode compression you will export the image to the PDF file without any loss of quality. In the current version of the product EncodedImageData class allows you to create only images without any transparency. However, as it was relatively easy for implementation, we have decided to introduce some additional public API in this class that would allow you to export images with transparency as well. The DLL files with this new public API should be available for download next week with the latest internal build. You may follow this feedback item
in order to be notified when its status is officially changed from "In Development" to "Completed" and see when exactly you will be available to download the implementation. You should additionally know that the implementation is developed by the WPF team and will be available for download from the WPF download section
in you clients profile. If you are not developing a WPF application you should not worry as RadPdfProcessing is UI independent library and its DLL files are same for all platforms.
I am attaching a demo application showing how to export RGBA image without any loss of quality with EncodedImageData class. The demo app uses EncodedImageData constructor taking alphaChannel as an argument and this constructor will be available with the newly introduced functionality
. If you want to test the demo now without the new functionally you may simply delete the alpha variable from the EncodedImageData constructor. This way you will successfully export the image to the PDF file by losing the transparency.
I hope this is helpful. If you have any other questions or concerns please do not hesitate to contact us again.
Telerik by Progress