Was able to narrow this down to a small block of code:
Using oFS As New IO.FileStream(path:=sPageImage, mode:=IO.FileMode.Create)
oPage.Resources.Images.Item(1).Save(stream:=oFS,
…...pdf - nuget package 25.5.0 - targeting .NET Framework...difference Brought all nuget packages up to date again. Aspose.PDF...