Separating images from Latex sources