SOLVED_ImageExport from LazReport lazarus / 21-General ---------------------------------------------------------------------- heavyconcrete · 2023-06-25 14:26 in LazReport I'm using frImageExport to export images. The quality is not very high though. Is it possible to increase the quality of the exported images? Do you have an example by any chance?Thanx ---------------------------------------------------------------------- korba812 · 2023-06-26 09:14 If you mean resolution of exported image then you can control it with "Zoom" property of the TfrImageExport class. As for the quality (compression rate) of the JPEG image, you can use the "JPEGQuality" property. Here is an example of how to use: https://gitlab.com/freepascal.org/lazarus/lazarus/- /blob/main/components/lazreport/source/addons/imgexport/test/testunit1 .pas ---------------------------------------------------------------------- heavyconcrete · 2023-06-26 11:05 thanx a lot! i put in my example; Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.frReport_pl_supExportFilterSetup(Sender: TfrExportFilter);begin  if Sender is TfrImageExportFilter then    with TfrImageExportFilter(Sender) do    begin      Zoom := 3;      JPEGQuality := 10;    //  BackgroundColor := ColorButton1.ButtonColor;    end; end; and works fine but where I can see the spec of Zoom  and JPEGQuality ? Thanx ---------------------------------------------------------------------- korba812 · 2023-06-26 12:19 The "Zoom" property indicates the proportion scale of page dimensions, e.g: A4 page measures 595px x 842px for Zoom = 1 the exported image will have the same dimensions (595x842). for Zoom = 2 the exported image will have twice the dimensions of the original page (1190x1684 px) for Zoom = 0.5 the exported image will have half the dimensions of the original page (298x421 px). The "JPEGQuality" property applies only to images exported to JPEG format and indicates the compression ratio of the JPEG file. See: https://lazarus-ccr.sourceforge.io/docs/lcl/graphics/tjpegimage.c ompressionquality.html ---------------------------------------------------------------------- heavyconcrete · 2023-06-26 12:48 Thanx!!!