constructor({ validOps = [] } = {}) {
    this.sharp = null;
    this.validOps = validOps;
  }
Converts a PDF page to a buffer using Sharp.
@param {Object} options - The options for the Sharp PDF page object.
@param {Object} options.page - The PDFJS page proxy object.
@returns {Promise<Buffer>} The buffer of the page.