No. The LEDs produce the infrared, not the resistors.
The IR LEDs are 1.3V each so eight of them in series need 10.4V. The supply is 12V so the LEDs and 10 ohm current-limiting resistor have a current of (12V - 10.4V)/10 ohms= 160mA and the resistor dissipates 160mA squared x 10 ohms= 256mW...