Panasonic ZS45 has a
16.0MP 1/2.33 (6.08 x 4.56 mm ) sized CMOS sensor . On the other hand, Leica V-Lux 40 has a
14.0MP 1/2.3-inch (6.08 x 4.56 mm ) sized CMOS sensor .
Below you can see the ZS45 and V-Lux 40 sensor size comparison.
Sensor Size and Resolution Comparison image of Panasonic ZS45 and Leica V-Lux 40 Cameras
Panasonic ZS45 and Leica V-Lux 40 have the same sensor sizes so they will provide same level of control over the depth of field when used with same focal length and aperture.
Sensor size sets the circle of confusion, so it drives how much depth of field each
of these bodies gives you at a given aperture. You can calculate it exactly for the
Panasonic ZS45
or the
Leica V-Lux 40 ,
including hyperfocal distance.
One thing to watch when comparing these two: they have different sensor sizes
(1/2.33 versus 1/2.3-inch),
so compare them at the same framing rather than the same focal length.
Put the same focal length on the smaller sensor and it will show less depth of
field, not more, because it also crops tighter. The calculator shows the
full frame equivalent focal length for each body so you can match the framing.