Even at 256 pixels, which is 16 squares to a megapixel, your final image will be 1 million/16 = 62,500 Megapixels. I think you're unlikely to succeed...
Pixels cannot be compressed. If you discard pixels you must lose resolution. PNG compression is pretty good, especially with images with few colours,...
I would like a command line option to print the current date somewhere on the page. Not the picture's EXIF date, the date that the page was printed....
Irfanview won't properly open DNG RAW files generated by the Yi M1 m4/3 camera. They open as tiny 160x120 files. Checking the file size it's 30.4 MB....