There would be absolutely nothing sacrificed by using open source, well-tested libs for image decode.