Create from bytes
factory ImageInput.fromBytes(List<int> data, {String? format}) => ImageInput(data: data, format: format);