Setting Image resolution of the images created by Powerpoint conversion service using PictureRequest class

I am using PictureRequest class to get the images of the presentation as,

PictureRequest request = new PictureRequest(inStream, ".pptx", PictureFormat.Png, outStream);

IAsyncResult result = request.BeginConvert(SPServiceContext.GetContext(siteCollection), null, null);

request.EndConvert(result);

After getting the response from the PictureRequest if I check the image size (in this case png) it has the resolution of 720x540. I want bigger resolution images. I searched all over the sharepoint central administration but could not find any setting related to Powerpoint conversion service which may allow to set the desired image resolution.

Could you please anyone suggest where I can specify the required resolution?

Many thanks in advance!


January 21st, 2015 12:00pm

Hi,

According to your description, you want to convert PPT file to PNG file in a specific resolution.

There is no such OOTB settings in PowerPoint conversion service can meet your requirement. In PictureRequest object, there is also no related method can set the resolution of the converting image.

As a workaround, I would suggest you do the conversion outside SharePoint, there will be more options available to handle the properties of the converted images.

The links below about with code demos about how to convert PowerPoint Slide to Image for your reference:

http://www.free-power-point-templates.com/articles/c-code-to-convert-powerpoint-to-image/

http://www.codeproject.com/Articles/10632/Export-of-PowerPoint-slides-to-high-quality-Bitmap

Best regards
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2015 2:52pm

try these links:

http://superuser.com/questions/406751/best-way-to-export-powerpoint-slides-into-pngs-with-different-resoltuions

http://www.codeproject.com/Articles/10632/Export-of-PowerPoint-slides-to-high-quality-Bitmap

http://www.free-power-point-templates.com/articles/c-code-to-convert-powerpoint-to-image/

------------------------------------------------------------------------------------------------------------------------

Please mark it as answer if you find it useful happy sharepointing

January 23rd, 2015 5:23pm

Is there any way without using Powerpoint object model/ Powerpoint interop assemblies? I don't want to use them.
Free Windows Admin Tool Kit Click here and download it now
February 3rd, 2015 3:09am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics