I exported a glb file and unpacked it to gltf (via Visual Studio Code gltf tools); even though all source files are jpg files, the mixmaps are exported as png:

This does NOT happen when exporting to gltf; here the mixmaps are generated as jpg
Ah, I see. We currently exporting any merged Basecolor+Alpha map to PNG, I assume that we're doing the same for O/R/M. since we really don't need alpha for this, I'll see if we can prevent this behavior, thanks.
Hi @cptSwing , I will investigate the subject. Do you mind to share the project file which highlight this issue, (or any similar 3DSmax file to reproduce the issue), And Exporter Script configuration options. Thank's for your valuable colaboration.
I have an opposite issue. I have my maps for Occlusion Roughness and Metallic in png and the ORM file format is jpg, but other maps (normal or color) end up being saved as png.
Max 2020 on the latest plugin version
@wandrzej this is the actual normal behavior defined into the code. We gonna change this by proposing a clear statement about how the format will be or not beeing affected by merge operation, but we will certainly push png as preferred solution because it's lossely in term of data. The base of the discussions/choices was about the Alpha channel. BTW, did you try to export as GLB?? Does the file is still jpg when extracting the data (using vs code plugin) ??
I haven't tried to unpack a glb in VS, but I've noticed something else that is quite interesting. After uninstalling the plugin and reinstalling it, the exporter started to generate png files again. I'm not 100% sure, but this might have happened after I've switched on the KHR_texture_transform option and despite turning it off, the jpg format persisted.
edit: Tried again and its still jpeg
I mean ".jpg" extension is hard coded into this line, which lead to generate a jpg when exporting ORM to gltf, no matter the options. I'm interest by the behavior you have with the KHR options.. if you have a scene and a way to reproduce.