How to change export image resolution?
How to change export image resolution?
Hi,
Is it possible to customize resolution for exported images without modifying the original source code?
thanks,
sw
Is it possible to customize resolution for exported images without modifying the original source code?
thanks,
sw
How to change export image resolution?
It depends from type of export.
Thank you.
Thank you.
How to change export image resolution?
I would like to change the image resolution for jpeg ang png export. Could you please give some example code?
thanks,
sw
thanks,
sw
How to change export image resolution?
Please use following code:
If you want change image zoom in GUI you can use combo box "Zoom:".
For also you can change default value of combo box "Zoom:":
Thank you.
Code: Select all
StiBmpExportSettings settings = new StiBmpExportSettings();
settings.ImageZoom = 2;
report.ExportDocument(StiExportFormat.ImageBmp, "1.bmp", settings);
For also you can change default value of combo box "Zoom:":
Code: Select all
StiSettings.Load();
StiSettings.Set("StiImageExportSetupForm", "Zoom", "200%");
StiSettings.Save();
How to change export image resolution?
Hi, Vital,
Thank you for your suggestion. But your example code does not solve my problem.
By default, the exported Jpeg image on my machine is 96dpi, but I would like to set the exported image resolution to 200dpi or 600dpi. The ImageZoom factor only resize the generated image, but not the resolution.
A related question: I can use StiPage.GetThumbnail() to get the same result as using ImageZoom, right?
sw
Thank you for your suggestion. But your example code does not solve my problem.
By default, the exported Jpeg image on my machine is 96dpi, but I would like to set the exported image resolution to 200dpi or 600dpi. The ImageZoom factor only resize the generated image, but not the resolution.
A related question: I can use StiPage.GetThumbnail() to get the same result as using ImageZoom, right?
sw
How to change export image resolution?
Yes, you are right.
Thank you.
Thank you.