anchor.diff:    inptr: JSAMPLE_PTR;
     col : JDIMENSION;
    // pad : int;
  -  NewBGR: TFPColor;
  +  NewBGR: TRGBTriple;
     PDest: PLongWord;
   begin
     inptr := JSAMPLE_PTR(dest^.buffer^[0]);
  
positive.code:       NewBGR.Blue:=inptr^;
        NewBGR.Alpha:=inptr^;
        Inc(inptr);
        PDest^ := FPColorTofpgColor(NewBGR);
        inc(PDest);
      end;  
    end;
  
negative.code:       Inc(inptr);
        NewBGR.Blue:=inptr^;
        Inc(inptr);
        PDest^ := RGBTripleTofpgColor(NewBGR);
        inc(PDest);
      end;
    end
  