Indexed images with Graphics class RRS feed

  • Question

  • I know that the Graphics class cannot take indexed images (I dont really know why). So I need to convert the indexed image to a color image, then convert it back to indexed image.

    How would I go about doing this conversion into color then back into indexed? Would there be data loss during the conversions?

    When i was doing it using Photoshop, every time i switched between indexed and RGB, the image got darker and darker, which meant data wasn't being preserved.
    • Moved by Michael Sun [MSFT]Microsoft employee Thursday, September 18, 2008 7:32 AM Off Topic for Visual C# General (Moved from Visual C# General to Off-Topic Posts (Do Not Post Here))
    Monday, September 15, 2008 5:45 AM