A new method to form an image sensor device is achieved. The method
comprises forming an image sensing array in a substrate comprising a
plurality of light detecting diodes with spaces between the diodes. A
first dielectric layer is formed overlying the diodes but not the spaces.
The first dielectric layer has a first refractive index. A second
dielectric layer is formed overlying the spaces but not the diodes. The
second dielectric layer has a second refractive index that is larger than
the first refractive index. A new image sensor device is disclosed.