accept image extensions in uppercase
generate tail padding when processing audio