Image source and encoding support.
Separate CLI script.