What does affect the ImageResolution parameter in the StiPdfExportSettings?
What does affect the ImageResolution parameter in the StiPdfExportSettings?
I put images on my print, but even when they are high resolution images, especially BMP files, they are not affected by this parameter, but are affected by ImageCompressionMethod setting. I can see that this parameter does affect images generated by Stimulsoft when creating images for the RTF control while printing with the ExportRtfTextAsImage flag enabled. What other elements does this parameter influence?
-
Lech Kulikowski
- Posts: 7664
- Joined: Tue Mar 20, 2018 5:34 am
Re: What does affect the ImageResolution parameter in the StiPdfExportSettings?
Hello,
The ImageCompressionMethod exists only in PDF export and affects only the codec (JPEG or Flate); it does not affect the image size or DPI.
There is the ImageResolutionMode parameter, which directly affects this. If it is Auto, the DPI of the original image is used; if it is Exactly, the DPI from ImageResolution is used.
As for ExportRtfTextAsImage, the DPI from ImageResolution is always used.
Thank you.
The ImageCompressionMethod exists only in PDF export and affects only the codec (JPEG or Flate); it does not affect the image size or DPI.
There is the ImageResolutionMode parameter, which directly affects this. If it is Auto, the DPI of the original image is used; if it is Exactly, the DPI from ImageResolution is used.
As for ExportRtfTextAsImage, the DPI from ImageResolution is always used.
Thank you.