function hanPostFilter(param) {
  const vStroke = param.vstroke;
  const hStroke = param.hstroke;

  const removeFeetFilter = PostFilters.removeFeet(
    { maxStroke: vStroke * 1.5, longestFoot: 110 });
  const hookTensionFilter = PostFilters.hookTension(param.hooktension);
  const strokeEndFilter = PostFilters.strokeEndsFlatten(
    param.flattenends, param.endsremoval, 
    { maxStroke: hStroke * 1.5 });
  const softenDotFilter = PostFilters.softenDots(
    param.dotsoftness, { maxStroke: hStroke * 1.5 });
  const postFilterList = [];
  if (param.feetremoval) postFilterList.push(removeFeetFilter);
  postFilterList.push(hookTensionFilter);
  postFilterList.push(strokeEndFilter);
  postFilterList.push(softenDotFilter);
  return PostFilters.merge(...postFilterList);
}
Get post filter of given parameters
@param { Parameter } param