The measurement and modeling of image quality are aimed to assist the design and optimization of systems, typically built for 'normal' observer vision. But in reality image viewers rarely have perfect vision. There have been few attempts and no universal framework for measuring image quality loss due to visual impairments. The paper presents initial experiments designed to measure still image quality losses, as experienced by observers with visual accommodation problems, by proposing modifications to the Quality Ruler method described in ISO 20462-3:2012. A simple method is then presented, which compensates directly on the display for some of the quality lost due to the impairment. It uses a purpose-built image equalization software. The compensated image is finally examined in terms of quality gained. The losses and gains in image quality are measured on a Standard Quality Scale (SQS), where one unit corresponds to 1 JND. Initial results show that the quality lost due to visual accommodation impairments can be accurately measured with the modified ruler method. The loss is scene-dependent. Partial or full quality compensation can be achieved for such impairments, using image contrast equalization; the level of quality gained also scenedependent.