How to resize an image ? 🤔

vnr cfcr at gmail.com
Fri Dec 25 20:59:03 UTC 2020


Hello 😺

For a small "script" that generates printable files, I would need 
to change the size of an image (which is loaded into memory as an 
array of bytes) to shrink it to scale if it exceeds the A4 page 
size.

To load the images into memory and generate a PDF, I use the 
"printed" package. It is not very provided but is sufficient for 
my use, I just need the resize option... Is there a relatively 
simple way to do this?

Thank you.


More information about the Digitalmars-d-learn mailing list