Added initial support for progressive jpegs.