In conventional photoacoustic tomography, several effects contribute to the loss of resolution, such as the limited bandwidth and the finite size of the transducer, or the space-dependent speed of sound. They can all be compensated (in principle) technically or numerically. Frequency-dependent acoustic attenuation also limits spatial resolution by reducing the bandwidth of the photoacoustic signal, which can be numerically compensated only up to a theoretical limit given by thermodynamics. The entropy production, which is the dissipated energy of the acoustic wave divided by the temperature, turns out to be equal to the information loss, which cannot be compensated for by any reconstruction method. This is demonstrated for the propagation of planar acoustic waves in water, which are induced by short laser pulses and measured by piezoelectric acoustical transducers. It turns out that for water, where the acoustic attenuation is proportional to the squared frequency, the resolution limit is proportional to the square root of the distance and inversely proportional to the square root of the logarithm of the signal-to-noise ratio. The proposed method could be used in future work for media other than water, such as biological tissue, where acoustic attenuation has a different power-law frequency dependence.