I guess you know about the Export feature of XnView, already:
When using File > Export... you can choose an output format, colour depth, and quality of compression and see the expected filesize for your image. But you cannot specify the output size and then let XnView choose the other parameters.