Customized FreeImage
Posted: Sat Aug 03, 2013 10:09 pm
Well, this is not really a feature request for Ogre itself, but for a library it depends on. I noticed the OgreMain shared lib is quite large, even in release mode (between 5 and 8 megs, depending on the system/compiler). I decided to investigate what makes it bloated, and I came to the conclusion that the reason is FreeImage, and its plugins for all the various (and sometimes bizarre) image formats.
I think it would be nice to have a customized version of this library on the dependencies repo, with only plugins for the formats that people are actually use. I'm sure no one will ever attempt to use Dr. Halo CUT / ZSoft PCX / GIF / KOALA / etc. formats for their Ogre-powered game, yet a smaller OgreMain would be welcomed by many developers.
I think it would be nice to have a customized version of this library on the dependencies repo, with only plugins for the formats that people are actually use. I'm sure no one will ever attempt to use Dr. Halo CUT / ZSoft PCX / GIF / KOALA / etc. formats for their Ogre-powered game, yet a smaller OgreMain would be welcomed by many developers.