You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on Xcode 14.2 and my XCTestHTMLReport version is 2.3.1. When I try run:
xchtmlreport -r TestResults.xcresult
The report that gets generated does not display any screenshots.
When I run xchtmlreport -r TestResults.xcresult -z -I
The reports shows the screenshots but they are very compressed. I am not sure to fix this. I do not want to compress my images, but it won't show me the screenshots without using that option. I tried on both Safari and Chrome
Currently, if you don't use the -z option the images remains in .heic format which is not supported for display in a web browser. The .heic images are converted to .jpeg only if you use the -z option which is meant to be for compression and not conversion.
It's more than a good idea to consider decoupling the conversion and compression functions. Conversion from .heic to .jpeg should always happen, whereas compression should be optional and bound to the -z flag.
Activity
jorogr commentedon Feb 12, 2025
Currently, if you don't use the -z option the images remains in .heic format which is not supported for display in a web browser. The .heic images are converted to .jpeg only if you use the -z option which is meant to be for compression and not conversion.
It's more than a good idea to consider decoupling the conversion and compression functions. Conversion from .heic to .jpeg should always happen, whereas compression should be optional and bound to the -z flag.