  The precise measurement of hadronic jet energy is crucial to maximise the
physics reach of a future Linear Collider. An important ingredient required to
achieve this is the efficient identification of photons within hadronic
showers. One configuration of the ILD detector concept employs a highly
granular silicon-tungsten sampling calorimeter to identify and measure photons,
and the GARLIC algorithm described in this paper has been developed to identify
photons in such a calorimeter. We describe the algorithm and characterise its
performance using events fully simulated in a model of the ILD detector.
