Added overload of iosImageFromResource().