03-07-2025, 12:54 AM
First all, Thank you for the support.
I made some progress color images. To conserve on the size of the PDF, you can select if the image will be grayscale or RGB. RGB adds a significant amount of data to the image. The default is set for RGB.
pdfSetMediaBox has been fixed. (I hope) You should be able to set each page to its own size, just do it before pdfAddPage
On the second page of the PDF is an example I found in the 1.0 specification that I though was neat.
Let me know if there is still problems with images. I'm using the Ubuntu default PDF viewer, so there may be some differences between implementations.
I made some progress color images. To conserve on the size of the PDF, you can select if the image will be grayscale or RGB. RGB adds a significant amount of data to the image. The default is set for RGB.
Code: (Select All)
pdfSetImageDevice PDF_IMAGE_DEVICE_GRAY ' for Grayscale
pdfSetImageDevice PDF_IMAGE_DEVICE_RGB 'for RGB
pdfSetMediaBox has been fixed. (I hope) You should be able to set each page to its own size, just do it before pdfAddPage
On the second page of the PDF is an example I found in the 1.0 specification that I though was neat.
Let me know if there is still problems with images. I'm using the Ubuntu default PDF viewer, so there may be some differences between implementations.
![[Image: Screenshot-from-2025-03-06-18-32-52.png]](https://i.ibb.co/4wX9RmXy/Screenshot-from-2025-03-06-18-32-52.png)
2D physics engine https://github.com/mechatronic3000/fzxNGN
Untitled Rouge-like https://github.com/mechatronic3000/Untitled-Rougelike
QB Pool https://github.com/mechatronic3000/QBPool
Untitled Rouge-like https://github.com/mechatronic3000/Untitled-Rougelike
QB Pool https://github.com/mechatronic3000/QBPool