it also reduces the size of the boot.wim file. My last project is being reduced from 829K to 761K.
In any case, a simple option (checkbox) for DISM to recompress the image with max compression would be helpful
My suggestion, moving forward, would simply be to update the label on the "Max Compression" checkbox to say "Max Compression (required for iPXE)"
The source and destination files must use the same compression type.You can optimize an image by exporting to a new image file.Exporting the image will remove unnecessary resource files.