Uploaded image for project: 'MediaPortal 2'
  1. MediaPortal 2
  2. MP2-516

Change texture allocation to use faster loading routines

    XMLWordPrintable

Details

    • Icon: Improvement/Rework Improvement/Rework
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.16.04 - Spring'16
    • 2.0.0-Summer Release '15 Update 1
    • Skin Engine
    • None

    Description

      <p>Textures are be decoded by FreeImage currently. This was done to support a wider range of image formats.</p>

      <p>&nbsp;</p>

      <p>This is no real advantage for textures, because they are mainly jpg / png.</p>

      <p>&nbsp;</p>

      <p>Alternatives are:</p>

      <p>- GDI</p>

      <p>- WIC</p>

      <p>&nbsp;</p>

      <p>While WIC seems to be fastest, there are currently drawbacks. WIC as used by WPF brings depdency to PresentationCore and the loading by stream fails with unknown reason inside MP2.</p>

      <p>WIC by SharpDX (ImageFactory and related classes) might be an alternative, but there the metadata reading is not working. This would be required for auto-rotation of image by EXIF tags.</p>

      <p>&nbsp;</p>

      <p>So for now, GDI seems to be the most reliable and faster alternative to FreeImage.</p>

      Attachments

        Activity

          People

            morpheus_xx morpheus_xx
            morpheus_xx morpheus_xx
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: