anchor.diff:    end;
   end;
   
  +function LoadImage_PNG(const AImageData: Pointer; const AImageDataSize: LongWord): TfpgImage;
  +var
  +  s: TMemoryStream;
  +begin
  +  s := TMemoryStream.Create;
  +  try
  +    s.Write(AImageData^, AImageDataSize);
  +    Result := LoadImage_PNG(s);
  +  finally
  +    s.Free;
  +  end;
  +end;
  +
   function LoadImage_PNG(AInstance: THandle; const AResName: String; AResType: PChar): TfpgImage;
   var
     res: TResourceStream;
  
positive.code: 
  function LoadImage_PNG(const AFileName: TfpgString): TfpgImage; overload;
  function LoadImage_PNG(AStream: TStream): TfpgImage; overload;
  function LoadImage_PNG(AInstance: THandle; const AResName: String; AResType: PChar): TfpgImage; overload;
  function LoadImage_PNGcrop(const AMaxWidth, AMaxHeight: integer; const AFileName: TfpgString): TfpgImage;
  
  
negative.code: {
      fpGUI  -  Free Pascal GUI Toolkit
  
      Copyright (C) 2006 - 2013 See the file AUTHORS.txt, included in this
      distribution, for details of the copyright.
  
      See the file COPYING.modifiedLGPL, included in this distribution,
  