title: Delphi stream read error when loading image
body: <p>My program loads a lot of images, but i have a problem with 1 image that used the print-screen button to copy it, from a game, however it is bmp, like all the rest. Whenever i run the program, it says project1.exe raised exception class Ereaderror with message 'stream read error' process stopped....</p>
  
  <p>The code is this:</p>
  
  <pre><code>procedure TForm1.FormCreate(Sender: TObject);
  var path, destination:string;
  begin
  path:=paramstr(0);
  destination:=extractfilepath(path)+'Leagueoflegendsdesktop.bmp';
  image1.Picture.LoadFromFile(destination);
  end;
  </code></pre>
  
  <p>Which is correct. What do you suggest me? </p>