Localise PIL import to ImageValue