DWG to JPEG conversion support in GroupDocs.Conversion Cloud SDK for PHP

Hello,

I am trying to convert dwg file to jpg, but following error occurs:
Uncaught GroupDocs\Conversion\ApiException: Source document type not supported: dwg in …GroupDocs/Conversion/ConvertApi.php:408

As I understand, GroupDocs supports dwg format, right? Am I missing something?
My code for conversion:


$settings = new GroupDocs\Conversion\Model\ConvertSettings();

$settings->setStorageName(“Storage”);
$settings->setFilePath("$filename.dwg");
$settings->setFormat(“jpg”);
$settings->setOutputPath("");

$request = new GroupDocs\Conversion\Model\Requests\ConvertDocumentRequest($settings);

$response = $conversionApi->convertDocumentDownload($request);

@poloksp,

We are sorry for your inconvenience. I have tested the scenario and noticed that it is not working as expected. I have logged a ticket CONVERSIONCLOUD-337 with high priority for rectification. I will notify you as soon as it is resolved.

1 Like

@poloksp

Thanks for your patience. Please note your above reported issue is resolved and its fix is included in GroupDocs.Conversion Cloud 20.3. We have also updated the SDKs for new feature. Please feel free to contact us for any further assistance.