A method for evaluating texture quality as shot by a camera is presented. It is shown that usual sharpness measurements are not completely satisfying for this task. A new target based on random geometry is proposed. It uses the so-called dead leaves model. It contains objects of any size at any orientation and follows some common statistics with natural images. Some experiments show that the correlation between objectives measurements derived from this target and subjective measurements conducted in the Camera Phone Image Quality initiative are excellent.