removed simplified QString method subst with strip and re.sub
better on porting 2.0
trying to porting 2.0 and do work for images