[RESOLVED]Error ExportPDF lazarus / 16-Databases ---------------------------------------------------------------------- berghem · 2021-02-28 16:48 Hi have an error when I convert my report (with LazReport) in PDF. The error is "not a valid PNM image", I think the problem is my bmp image. The problem is bmp format? Code: [Select]   frReport1.ShowReport;   if frReport1.PrepareReport then      frReport1.ExportTo(tfrtnpdfExportFilter,'test.pdf'); Code: [Select] procedure TfrmMain.frReport1EnterRect(Memo: TStringList; View: TfrView); begin   if View.Name = 'img' then     TfrPictureView(View).Picture.LoadFromFile(cmbRecipe.Text + '.bmp'); end; ---------------------------------------------------------------------- berghem · 2021-03-01 13:51 I tryed to delete two images (bmp and PNG) and without image the report works well. The problem is image.... ---------------------------------------------------------------------- LacaK · 2021-03-02 09:44 Can you delete only one image at time to see which one image of two causes the problem? ---------------------------------------------------------------------- berghem · 2021-03-02 20:09 Each picture... I tried before deleted bmp, but I had same problem after I put bmp and delete PNG but notrhing... If I delete all image I haven't problem ---------------------------------------------------------------------- berghem · 2021-03-02 20:38 Resolved converted all image in JPG....