• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Jul 2018 08:30 AM by  JoshGrew
A Graphics object cannot be created from an image that has an indexed pixel format
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Eran Schwartz



New Member


Posts:
New Member


--
14 Jun 2018 06:03 PM
    In the last couple of days I'm getting the following error message:

    Exception: "A Graphics object cannot be created from an image that has an indexed pixel format"
    Method: FiftyOne.Foundation.Image.Processor.Shrink

    System.Exception: A Graphics object cannot be created from an image that has an indexed pixel format.
    at System.Drawing.Graphics.FromImage
    at FiftyOne.Foundation.Image.Processor.Shrink
    at FiftyOne.Foundation.Image.Processor.ShrinkToSeekStream
    at FiftyOne.Foundation.Image.Processor.Shrink
    at FiftyOne.Foundation.Mobile.Detection.Feature.ImageOptimiser.OptimisedImageResponse

    What could be the cause for that ?
    0

    JoshGrew



    New Member


    Posts:34
    New Member


    --
    20 Jun 2018 12:44 PM
    Hi Eran

    The methods used to re-size images within our image optimiser does not support indexed images. Do the error logs mention which of the images in your project this is referencing?
    0

    JoshGrew



    New Member


    Posts:34
    New Member


    --
    02 Jul 2018 08:30 AM
    Hi Eran

    Just checking to see how are you getting on? If I don't hear from you I will close the case.
    0
    You are not authorized to post a reply.