Loads an image using jpeg, or png packages depending on the file extension.

base_loader(path)

Arguments

path

path to the image to load from