Add jpeg support