Simplified metadata extraction: One rule for all images