TJPEGImage doesn't work on every jpg lazarus / 13-General ---------------------------------------------------------------------- ilniko · 2006-03-22 20:02 I've installed the JPEGForLazarus component, and compiled the sample program to see how it works with jpg files. Some jpg are opened correctly, but the most I have are not loaded, and in the dos prompt of the sample application, I read "JPEGError 20". I've tried to do a sample application from myself, but I had the same result. I see that when I call the JPEG.LoadFromFile, after the Execute of the OpenPictureDialog, the error message is this: "File not open". How is it possible that some jpg are opened and others no? How can I solve this? Nik ---------------------------------------------------------------------- Bart · 2006-03-23 11:00 IIRC there is a README file in the component directory that states that the current version only handles interlaced JPG's correctly ??? Bart ---------------------------------------------------------------------- LP · 2006-04-01 21:29 Hi! I have been trying to convert one of my major projects to lazarus and freepascal. The program must be able to show jpg images though. Is there any work being done on the jpeg unit? As for now it is rather limited for a real project. // LP ---------------------------------------------------------------------- lepidosteus · 2006-04-02 02:37 Here you can find an unit for delphi, using the intel jpeg library (i suppose this lib is avaible on other system than win32 ?) http://www.phidels.com/php/index.php3?page=../php/pagetelechargementzi p.php3&id=356 Click on "Cliquez ici pour télécharger le projet.". Maybe this can be modified to compile under lazarus.