CHANGED:applied the foregroundImag with resized value,prepared for typeset step