Error when compressing imaging java library(emf image)

image to emf case

EmfOptions()
If you save after setting setCompress(true)
The converted image is not visible.

If there is no setCompress(false) or setCompress option,
The converted image looks good.

@Ingi.Yoo Try in the case of setCompress(true), set the extension .emz to file

Hell @Ingi.Yoo !

The converted image is not visible.

Not a bug! When you set setCompress(true) the output file will be in EMZ format (emf inside zip). This format is not well known. You can read more here EMZ File Format - A Windows Compressed Enhanced Meta file
Most viewers can not work with this format.
You can use https://chromewebstore.google.com/detail/wmf-emf-emz-viewer-and-co/mochhapffbndhenndjgbfpbnmadlephm?pli=1