DavidAnson / ConvertTo-Jpeg

A PowerShell script that converts RAW (and other) image files to the widely-supported JPEG format
MIT License
180 stars 45 forks source link

Does not work with Powershell Core #13

Open oledid opened 3 years ago

oledid commented 3 years ago

https://devblogs.microsoft.com/scripting/powertip-identify-if-you-are-running-on-powershell-core/

DavidAnson commented 3 years ago

Isn't this more of an issue with PowerShell Core?

oledid commented 3 years ago

Yeah maybe, but it could display a better error if the referenced assemblies fails to load, perhaps?

jamacoe commented 2 years ago

I found a similar thread, someone saying "WinRT support was removed from .Net 6.0 and as result from PowerShell 7.2 too.". David, any chance you will adapt this valuable script to PS Core?

DavidAnson commented 2 years ago

I don't use this script anymore, so the urgency for me is less. This issue is a candidate for PR if someone digs in and figures out the changes!