- Removed @napi-rs/canvas and pdf-to-img dependencies from package.json and bun.lock to streamline the project.
- Added PDF.js data directory configuration in the Linux service file and build scripts.
- Introduced a new pdfToImg module for rendering PDF pages to images, enhancing PDF conversion capabilities.
- Updated pdfUtils to utilize the new pdfToImg function, improving efficiency and modularity.
- Removed unnecessary external dependencies from the Linux binary build script to streamline the build process.
- Simplified the import mechanism for the `pdf-to-img` and `sharp` modules in the PDF conversion utilities, enhancing module loading efficiency.
- Updated the exit code handling in the Linux binary build script to use the `exited` property from the compile result.
- Simplified the process of exiting the script on failure, enhancing clarity and reliability.