Add quality variable to PNG output