jpg decompress now takes fmt and div arguments.