What’s a good free software for converting pictures to Grayscale for 2.5D work

Aspire does it, but that’s for 3D (2.5D) milling for CNC machines, and it costs about $2000.