anchor.diff:      if isPdf then
       begin
         try
  +        Result := TPopplerToolbox.ExtractThumbnailOfFrontPageFromPdfAsPng(tmpSourceFileName, tmpThumbnailFileName, aMaxWidth, aMaxHeight);
  +        (*
  +        {$IFDEF UNIX}
  +        Result := TPopplerToolbox.ExtractThumbnailOfFrontPageFromPdfAsPng(tmpSourceFileName, tmpThumbnailFileName, aMaxWidth, aMaxHeight);
  +        {$ELSE}
           Result := TXPdfToolbox.ExtractThumbnailOfFrontPageFromPdf(tmpSourceFileName, tmpThumbnailFileName, aMaxWidth, aMaxHeight);
  -        logger.Debug('Generated thumbnail for pdf file: ' + tmpThumbnailFileName);
  +        {$ENDIF}
  +        *)
  +        logger.Debug('Generated thumbnail for pdf file: ' + tmpSourceFileName);
         except
           on e: Exception do
           begin
             aError := e.Message;
  -          logger.Debug(e.Message);
  +          logger.Error(e.Message);
             exit;
           end;
         end;
  
positive.code:   if isPdf then
    begin
      try
        //Result := TMutoolToolbox.ExtractThumbnailOfFrontPageFromPdf(aSourceFile, aThumbnailFileName, aMaxWidth, aMaxHeight);
        Result := TXPdfToolbox.ExtractThumbnailOfFrontPageFromPdf(aSourceFile, aThumbnailFileName, aMaxWidth, aMaxHeight);
      except
        on e: Exception do
        begin
          aError := e.Message;
          exit;
        end;
  
negative.code: 
  uses
    sysutils,
    mUtility,
    mPoppler,
    mLog,
    {$IFDEF NOGUI}
    mGraphicsUtilityNoGUI
    {$ELSE}
  