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!

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
Patrick Liang
TechNet Community Support

Similar Messages

  • Getting desired 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!

    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
    Patrick Liang
    TechNet Community Support

  • My firefox is loading Bad quality images, but actully the images are perfectly alright

    My firefox is loading Bad quality images, but actully the images are perfectly alright

    In my experience, print quality settings such as dpi/ppi are hidden in your printer driver settings and not directly available through Firefox's UI. In the print dialog, if you click the Properties button, you hopefully will gain access to this setting. Obviously native web resolution (96ppi) can give disappointing results, so hopefully you can find a place to increase it.

  • How do I make a 20 X 30 print with layers of 16 X 20, 12 X 18, 11 X 14, 8 X 12, 8 X 10, 5 X 7 and 4 X 6 of the same image to display the different sizes available to someone?  Using Elements 13 with Windows 8.1

    How do I make a 20 X 30 print with layers of 16 X 20, 12 X 18, 11 X 14, 8 X 12, 8 X 10, 5 X 7 and 4 X 6 of the same image to display the different sizes available to someone?  Using Elements 13 with Windows 8.1
    A senior citizen needs some help.
    Thanks

    Saving each image as different size - is it an option for you?  I would save images with their name as: 20x30.png, 16x20.png etc etc.
    Or explain whether you want these in a webpage  in which case only one image is necessary and different sizes are displayed with good CSS code.  this is question for Dreamweaver forum if this is what you want.

  • How to upload the image and diplay the image in the browser using jsp

    How to upload the image and diplay the image in the browser using jsp
    thanks
    shan

    i'll suggest looking for sample code or tutorial with a relevant query in google, which as far more time than us to answer this type of reccurent question

  • I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    Just go back in photoshop and use the Slice Select tool, then just click and select the slice and hit delete - if you're not sure which one is the active slice just right click and find the one that has the Delete Slice option.
    It's possible you either added the slices by accident or if you received it from someone they just had the slices hidden. For the future, you can go to View > Show > Slices to display (or hide) slices.

  • I am using CS6 and when I go to save an image for Web the image does not retain its quality

    I am using CS6 and when I go to save an image for Web the image does not retain its quality. The first week I did this it worked just fine and now the images save very pixely.
    Here is a screenshot of my image on the artboard as I am editing it
    Here is a screenshot of the image as I'm trying to save it for Web
    As you can see, the image becomes pixely. I have tried to save it as every type of png and jpeg but nothing seems to work. I have no idea why it has started to do this. Please help!

    Change None to Art optimized then click apply(alteast in CS5 there was an apply, believe they removed that in CS6 as so many people missed that part).

  • Create web service using java class

    Hi,
    I created the web service using java class then i deployed this web service in to the weblogic admin server.when i tested this process it is working fine.
    when I tested The generated WSDL to this process in browser(IE). it is not working.
    I need to to invoke this webservice from another BPEL but this WSDL is not working.

    Hi,
    when i created the webservice in jdeveloper by default it is connected to integrated weblogic server and generates this wsdl.
    http://localhost:7101/helloApplication-javaexcel-context-root/MyWebService1Soap12HttpPort?WSDL
    then I deployed this webservice in to the Adminserver.it gives the following URL.
    http://192.168.56.1:7001/extracExcelToCSV-extractExcelToCSV-context-root/ExtractExcelToCSVSoap12HttpPort?wsdl
    This URL is not working but when i tested this process it is working fine.
    It is giving below error when i try to invoke from jdeveloper
    Error while reading wsdl file
    caused by:java.net.connectExcepption :Connection timed out:connect

  • How to Create and Deploy Web Services Using Oracle 9i JDeveloper

    Hi,
    My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
    Hopr to Hear From you,
    Regards,
    G Sreekumar

    You could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
    You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections.

  • What is the effective way to Send an Email using SmtpClient Class?

    Hi Everyone
    What is the effective way to Send an Email using SmtpClient Class.
    Thanks

    Hi Shaheena
    The SmtpClient class is used to send e-mail to an SMTP server for delivery.
    This is sample code for sending an email through SMTP
    void sendEmail(string strFrom
    , string strTo
    , string strSubject
    , string strBody)
    /// Author, Md. Marufuzzaman
    /// Created,
    /// Local dependency, Microsoft .Net framework
    /// Description, Send an email using (SMTP).
    MailMessage objMailMessage = new MailMessage();
    System.Net.NetworkCredential objSMTPUserInfo =
    new System.Net.NetworkCredential();
    SmtpClient objSmtpClient = new SmtpClient();
    try
    objMailMessage.From = new MailAddress(strFrom);
    objMailMessage.To.Add(new MailAddress(strTo));
    objMailMessage.Subject = strSubject;
    objMailMessage.Body = strBody;
    objSmtpClient = new SmtpClient("172.0.0.1"); /// Server IP
    objSMTPUserInfo = new System.Net.NetworkCredential
    ("User name", "Password","Domain");
    objSmtpClient.Credentials = objSMTPUserInfo;
    objSmtpClient.UseDefaultCredentials = false;
    objSmtpClient.DeliveryMethod = SmtpDeliveryMethod.Network;
    objSmtpClient.Send(objMailMessage);
    catch (Exception ex)
    { throw ex; }
    finally
    objMailMessage = null;
    objSMTPUserInfo = null;
    objSmtpClient = null;
    Indul Hassan
    Microsoft Community Contributor
    http://www.indulhassan.com
    You Snooze.. You Lose !!

  • Set exported resolution for each image within InDesign

    I'm generating a document in InDesign destined only for the screen (as a PDF) and I'm wondering whether in CS6 the user can set the exported resolution separately for each image. i.e click on a image and set the resolution for that image. Reason: to allow end-viewers to zoom in on certain images and retain quality.
    And while I'm on the subject of changing resolution, a few years ago someone wrote a script for me (in response to a post), that when you clicked on an image within InDesign, resampled the original to 300 dpi, saved it, and made the necessary adjustments in InDesign so the image stayed the same size.
    Can CS6 do that? Or do I need to dig up the old script?

    > ... destined only for the screen (as a PDF) ...
    The developers of PDF will thank you for that statement!

  • What is the image resolution in the PDF file for an "Add Image"?

    I am using Acrobat Pro XI.  I added a 600 dpi image to my PDF file.  When I click on it and copy a chunk of it, then paste it into paint, the image resolution is 96 dpi.  How can I tell the resolution is of images in my PDF file?  I am trying to keep at least 300 dpi image resolution.  Thank you for any help in understand this.

    then paste it into paint, the image resolution is 96 dpi
    That's the consequence of using the OS's clipboard.
    A PDF can have image content of different resolution.
    You can look in the application's Preferences - Convert to PDF - [select one of the supported image file formats] to observe settings.
    Some are user configurable.
    Basically if you insert "x" ppi that's the resolution of that image that is not on the PDF page.
    Be well...

  • How can I save a PDF and retain the high resolution of the images it contains?

    I'm using the trial version of Acrobat XI. The images are 1440dpi but always save at 120dpi. The PDF is for the content of a picture book so I need to be able to save them at a minimum of 300dpi. Any help would be very much appreciated.

    Have just discovered that although the properties for each of the photos states 1440dpi they vary from 696 to 2131 pixels on the height dimension of 10cm!
    Thanks to your help in guiding me to the Preflight profiles, I've now at long last produced a file that does the job! Thank you!!!
    I created my file in Word, saved it as a PDF (3.72MB), replaced the images with the original files (Word had made them tiny), then used the Digital Printing (Color) profile to Analyze & Fix the PDF, thus creating a PDF (98MB) that was suitable to upload. There is no doubt a more succinct and less Heath Robinson method but I wasn't able to find it!

  • How to check the resolution of the image through scripting

    How to check the raster image resolution in illustrator through script?

    Thanks for your reply.
    I have found another script which returns the dpi of linked images.
    I am not so good in scripting could you have a look in this and convert to RasterItem.resolution.
    var docRef = activeDocument;
    with (docRef) {
    // We are expecting 1 placed item (image) here!!!
    var placedWidth = placedItems[0].width;
    var placedHeight = placedItems[0].height;
    var placedPath = placedItems[0].file;
    // The 2 variables below are global
    XpixelDimension = 0;
    YpixelDimension = 0;
    // Call the function
    exifDimensions(placedPath);
    // Calculate the Height & Width DPI's
    var widthDPI = Math.floor(XpixelDimension / (placedWidth / 72));
    var heightDPI = Math.floor(YpixelDimension / (placedHeight / 72));
    alert('Width DPI is ' + widthDPI + ' Height DPI is ' + heightDPI);
    function exifDimensions(imageFilePath) {
    imageFilePath.open('r');
    try {
    while (imageFilePath.tell() < imageFilePath.length) {
    var line = imageFilePath.readln();
    var idxOf = (line.indexOf('<exif:PixelXDimension>') > -1) ? line.indexOf('<exif:PixelXDimension>') : line.indexOf('<exif:PixelYDimension>');
    if(idxOf > -1) {
    if(line.indexOf('<exif:PixelXDimension>') > -1) XpixelDimension = parseInt(line.substring(line.indexOf(">")+1, line.lastIndexOf("<")));
    else YpixelDimension = parseInt(line.substring(line.indexOf(">")+1, line.lastIndexOf("<")));
    catch (ex) { alert('Fluff');}
      finally { imageFilePath.close(); return [XpixelDimension, YpixelDimension]; }
    Thanks in advance
    Vinoth

  • Image resolution of inserted image

    I'm creating a PDF e-book for a friend:
    I scan an image (line art) as a 200dpi greyscale jpg in photoshop. Looks sharp on screen and when printed. I scale down the image from 100% to the size I'll need it in Pages (3" wide). Move over into Pages and insert>choose> and select my image. Once imported, the image is huge! So I go back to photoshop and scale it down way more. Now when I re-import the image into Pages, its the correct size but appears fuzzy. If I print the image from Pages....it's fuzzy. If I print that same image from photoshop it's tiny. How do I reconcile this?

    I'm sorry but that doesn't answer my question (I'm not being rude). If it's 4" ouside Pages (in PhotoShop)......why wouldn't it still be 4" when inserted into Pages.
    You are dealing with two separate issues here.
    Your original question asked about the change in display/print clarity when a file imported to pages at two different resolutions. In the first case you have an 4" image at 200 dpi (or lines). This means the image contains 800 dots in the dimension being measured. When this image is imported to Pages, it still has 800 dots in the indicated dimensions and will have a 200 dpi resolution when displayed as a 4" image (i.e. 800 dots / 4" = 200 d/") On the other hand, if you display the same image at 2" in Pages, then the resolution becomes 800 dots / 2" = 400 d/" resolution available for display or printing. However, the apparent quality of any such representation will depend on the monitor display or print resolution used to render the image. (I.e., you can modify the viewing/printing scale of a Pages page, as well as, the size of the image within a Pages page which affects both the relative size of the page as well as its apparent quality.
    In the second rendering of your question, you asked why the PS and Pages images display at different sizes. One of the main differences between the two applications is that PS displays the image at dimensions relative to the "display" dimensions which are embedded in the image while Pages displays the same image relative to the viewing scale selected by the user which is relative the fixed resolution of your monitor and/or print resolution. (I.e., if you want the small, 1" PS view of your image to "appear" the same size as your Pages version of the same image, then reduce the resolution reference embedded in the PS file (which PS uses for display but Pages does not use) to match the current resolution of your monitor. That is, both applications must be using the same reference resolution for their display.
    One last point here. If you are creating an eBook here then disregard both applications when it comes to scaling and resolution settings. Simply target your project for the size and resolution of the target eBook reading device. For example, if creating a file for an 800x600 @200 dpi device use a page size on the order of 4" x 3" (less any area not dedicated for reading display) or on the order of 4.8" x 3.6" for an 800x600 device at 166.67 dpi device, use these dimensions for your target page dimensions in Pages, and use an image that provides your best estimate of quality on the device in terms of KBs required for the saved PDF file. In this manner you should end up with an eBook that matches your project file in terms of page content.

Maybe you are looking for

  • Column numbers in SQL Developer

    This may seem picky; but I find it frustrating to get error messages of the form error in line 35 column 83 and then not have a convenient way other than counting to find line 35 and column 83. Is there a way to jump to the error point? If not, is th

  • How long is this video I just previewed?

    The previews are all 20 seconds, I can see that. How long is the $1.99 video? Some of the info is cut off near the PREVIEW button. It has release date, genre, label. and dots ......

  • Upgraded to Elements 11 from 9.  Form windows 7 to MacOS.  Events and dates seem to have been lost

    After importing catalog, events and dates seem to have been lost.  People tags imported OK.  Thoughts?

  • Limewire With IPod Nano

    I currently use Limewire as my music downloader. As I live in Canada, it is not illegal to download music for free. How do I use my Limewire Music on my IPOD Nano...how do I transfer it..etc

  • Scom agent failed to send perf data to scom

    Hi all, Been seeing this from one of our exchange mailbox servers once a day, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Alert: Scom agent failed to send perf data to SCOM. Issues may be occurring that are not being properly reported. Source: Server - XXXX- XXXX