Higher resolution on JPG via Save to File option
Hi,
I'm trying to save my reports as JPG files, but the output resolution is
rather poor. For example, if I export a report that has a custom size of 4"
x 6", the resulting JPG is 384 x 576, which is way to low. Any ideas as of
how to make ReportBuilder to use higher resolutions?
Jb.
I'm trying to save my reports as JPG files, but the output resolution is
rather poor. For example, if I export a report that has a custom size of 4"
x 6", the resulting JPG is 384 x 576, which is way to low. Any ideas as of
how to make ReportBuilder to use higher resolutions?
Jb.
This discussion has been closed.
Comments
The built-in jpg export uses the default resolution of a TJPEGImage
object created with Delphi. You can access the TJPEGImage object
directly and adjust its properties using the OnFileDeviceCreate event of
the report.
uses
ppImageDevice;
begin
if Report.FileDevice is TppJPGDevice then
TppJPGDevice(Report.FileDevice).JPEG.CompressionQuality := ...;
end;
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com