How to resize an image in C# to a certain hard-disk size?
- by J. Pablo Fernández
How to resize an image an image in C# to a certain hard-disk size, like 2MiB? Is there a better way than trial and error (even if it's approximate, of course).
Any particular keywords to search for when trying to find the solution on the web?