Characterizing convexity of images for quadratic-linear mappings with applications in nonconvex quadratic optimization uri icon