Stream read error TImage and PPM lazarus / 39-Graphics ---------------------------------------------------------------------- MaartenJB · 2012-03-26 09:47 Hi, I've got a problem with loading ppm files into a TImage. This: Code: [Select]Image1.Picture.LoadFromFile('test.ppm'); results in a "stream read error". The ppm files are generated with libjpeg-turbo ( http://libjpeg- turbo.virtualgl.org ). Not all converted images generate this problem, but most do. All ppm files can be opened without any problems in normal picture viewers. This is an example ppm image: http://home.kpn.nl/bakk2340/lazarus/test.ppm Thanks in advance. Windows 7 32 bit Lazarus 0.9.30.4 FPC 2.6.0 ---------------------------------------------------------------------- theo · 2012-03-26 10:48 Please report this in the bugtracker: http://bugs.freepascal.org ---------------------------------------------------------------------- MaartenJB · 2012-03-26 11:29 I've reported the bug, I hope I did it the right way :-) http://bugs.freepascal.org/view.php?id=21564