code: def to_bytes(self):
  		
  		return struct.pack(
  			"!IIIIHHbb", self.width, self.height, self.x_offset, self.y_offset,
  			self.delay, self.delay_den, self.depose_op, self.blend_op
  		)
docs: Convert to bytes.
  		
  		:rtype: bytes