for below code am using this verson <PackageReference Include="Aspose.Imaging" Version="23.6.0" />
<PackageReference Include="Aspose.PDF" Version="23.6.0" />
Resolution resolution = new Resolution(50);
PngDevice pngDevice = new PngDevice(210, 288, resolution);
//Convert a particular page and save the image to stream
pngDevice.Process(Page, LargeImageStream);
Using above code am conevrting pdf to png getting output in “LargeImageStream” but when i try to save file using this strem not able to create file it means 0kb file is getting created