accepting jpeg in raw binary