Default HOW TO CONVERT system files to .img?

Is there anyway to convert my extracted system files to .img from computer?