Kattis / problemtools

Tools to manage problem packages using the Kattis problem package format.
MIT License
101 stars 70 forks source link

problem2html.py: warn about large generated files #221

Closed ghamerly closed 1 year ago

ghamerly commented 1 year ago

Look at all of the files generated by problem2html, and warn the user about large files.

If the problem includes a PDF image with a bitmap, plasTeX converts it to a PNG or JPG, and this process can blow up the file size dramatically (I have seen a small PDF change into a 50+MB PNG), which causes problems with serving images on the web.