Details
-
Improvement/Rework
-
Resolution: Fixed
-
Minor
-
2.0.0-Summer Release '15 Update 1
-
None
Description
<p>Textures are be decoded by FreeImage currently. This was done to support a wider range of image formats.</p>
<p> </p>
<p>This is no real advantage for textures, because they are mainly jpg / png.</p>
<p> </p>
<p>Alternatives are:</p>
<p>- GDI</p>
<p>- WIC</p>
<p> </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> </p>
<p>So for now, GDI seems to be the most reliable and faster alternative to FreeImage.</p>
<p> </p>
<p>This is no real advantage for textures, because they are mainly jpg / png.</p>
<p> </p>
<p>Alternatives are:</p>
<p>- GDI</p>
<p>- WIC</p>
<p> </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> </p>
<p>So for now, GDI seems to be the most reliable and faster alternative to FreeImage.</p>