Fix multiframe image compression