(jpeg) reduce port sizes in the encoder.