Photos taken of suspects arrested in Scotland are often too low quality to be used to detect crimes.