1. Extract SEM parameters from TIFF tags using R