TRTools
TRTools copied to clipboard
Feature Request: Rasterize PDFs
Hi Melissa,
First off, thanks for the useful toolkit. I'm working with some big datasets and the vectorized pdfs that are created with compareSTR and qcSTR are sometimes too big to open. It would be great to have an option to save the PDFs in a rasterized format. it ~should~ be as easy as including rasterized=True in the plot function, but I hear savefig randomly ignores this for certain plots. If you would like, I can test it and submit a PR. let me know your thoughts on this.
Thanks, Nathan
Hi Nathan, I'm responding on behalf of Melissa, as she probably won't get a chance to do so. That would be great if you could add that feature and submit a PR, I'll be happy to review and help with any issues that may arise. I think it would be ideal if you could expose that flag to the user as well. Please let me know if you had any questions. Best, Nima
That would be great! Another option could be to have savefig save them as .png or another format.