Pentax K-7 has a 15.0MP APS-C (23.4 x 15.6 mm ) sized CMOS sensor and features Prime II processor. You can shoot at maximum resolution of 4672 x 3104 pixels with aspect ratios of and 3:2. K-7 has a native ISO range of 100 - 2000 which can be boosted to 6400 and it can save files in RAW format which gives you a wider room for post processing.
Pentax K-7 is not the highest resolution APS-C camera. Fujifilm X-E5 with its 40.0MP sensor is leading in this class. Check the comparison of Pentax K-7 vs Fujifilm X-E5 or take a look at Highest resolution DSLR cameras list.
Pentax K-7 DxOMark Sensor Scores
DxOMark is a benchmark that scientifically assesses image quality of camera sensors. Pentax K-7 sensor has been tested by DxO Mark and got an overall score of 61 for its image quality. You can find the details of their analysis of Pentax K-7 here.
Let's look at how the size of the Pentax K-7's APS-C sensor compares with other standard sensor sizes.
Comparison image of Pentax K-7 Sensor Size with other standard sensors
Sensor size is what determines the circle of confusion, and therefore how much
depth of field Pentax K-7 gives you at any given aperture.
You can
calculate
the exact depth of field for the Pentax K-7
at any focal length, aperture and subject distance, including the hyperfocal distance
for landscapes and the very shallow focus zone you get with long telephoto lenses.