In mainstream particle physics, the quantum field theory of elementary particles, light is a quantum mechanically superposition of a great number of photons, which are elementary particles. The energy of the photons is = hν where ν is the frequency of the classical electromagnetic wave. This is an important experimental evidence of how photons are different from classical electromagnetic light but nevertheless build it up.

Figure 1. Single-photon camera recording of photons from a double slit illuminated by very weak laser light. Left to right: single frame, superposition of 200, 1’000, and 500’000 frames.
These are photons of the same frequency, on the left they look random , on the right the interference pattern of the classical two slits appears.
In mainstream physics, space time is continuous, not "pixilated" as you imagine. All variables are continuous except in bound states where energy levels and orbitals exist. The photons of an electromagnetic wave are not bound, the superposition is quantum mechanical and can be described with quantum field theory.
There exists an off the main stream theory that has space "pixilated"
Loop quantum gravity is an attempt to develop a quantum theory of gravity based directly on Einstein's geometric formulation rather than the treatment of gravity as a force. To do this, in LQG theory space and time are quantized analogously to the way quantities like energy and momentum are quantized in quantum mechanics. The theory gives a physical picture of spacetime where space and time are granular and discrete
It is still under research and I do not know how it treats photons and electromagnetic waves.