DavidAnson / ConvertTo-Jpeg

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

No suitable transform was found to encode or decode the content #22

Open AdrianbCojocaru opened 3 months ago

AdrianbCojocaru commented 3 months ago

powershell.exe -executionpolicy bypass -file ConvertTo-Jpeg.ps1 -files "IMG_0923.HEIC" System.Management.Automation.MethodInvocationException: Exception calling "Wait" with "0" argument(s): "One or more errors occurred." ---> System.AggregateException: One or more errors occurred. ---> System.Exception: No suitable transform was found to encode or decode the content. (Exception from HRESULT: 0xC00D5212) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at CallSite.Target(Closure , CallSite , Object ) --- End of inner exception stack trace --- at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) At C:\Users\adria\Downloads\poze-20240629T125809Z-001\ConvertTo-Jpeg.ps1:121 char:13

DavidAnson commented 3 months ago

Duplicate of: https://github.com/DavidAnson/ConvertTo-Jpeg/issues/12