I sometimes run into this issue with photo forums where they only allow a certain size photo to be posted. Easy enough to follow the 2,000px max, but in addition to this limit, they also want the image to be 2MB or less. It can take multiple tries to get an image both 2,000px AND 2MB or less. When I’m exporting the image, yes there is a “JPEG quality” slider, but nothing telling me whether I’ve achieved the 2MB limit.
My request is for this information to be available on the export screen.
You can use Irfanview (Windows) for this purpose (and many others), it’s free, when you resize there are 2 windows with the second one asking how many kB ou MB you want your file to fit.
It would definitely be worth having such an option in one application. At present, I sadly also occasionally have to use external programs for this specific purpose.