Decode masked jpegs in the parser worker