added jpeg with optimized coding support.