Error Conversion used for two years now generates invalid file

I’ve been using this code in Python for about two years, and I’ve always performed the conversion correctly.

About a week ago, this conversion was successful, and a file was generated, but it was very large and left an image that couldn’t be displayed.

This is the code used

#!/usr/bin/env python
import os
import groupdocs_conversion_cloud
import shutil

client_id = ‘CLIENT_ID’
client_secret = ‘CLIENT_SECRET’

def Convert():
apiInstance = groupdocs_conversion_cloud.ConvertApi.from_keys(client_id, client_secret)

# Prepare request
load_options = groupdocs_conversion_cloud.PresentationLoadOptions() 
load_options.format = "pptx"

convertOptions = groupdocs_conversion_cloud.JpgConvertOptions()
convertOptions.quality = 100

request = groupdocs_conversion_cloud.ConvertDocumentDirectRequest("jpg", "new.pptx", None, None, load_options,convertOptions)

result = apiInstance.convert_document_direct(request)

shutil.move(result, os.path.join(os.getcwd(), 'file.jpg'))

apiInstance.close()

Convert()

Hello, we are sorry for the bug, there is a known issue when converting pptx files to image in v 25.5, it will be fixed soon, in next version v 25.6

@enviosjmca1
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CONVERSIONCLOUD-613

The issues you have found earlier (filed as CONVERSIONCLOUD-613) have been fixed in this update. This message was posted using Bugs notification tool by sergei.terentev