Exemplo n.º 1
0
    public new static bool write(Image src, string dest, image_fileformat format)
    {
        bool ret = yarpPINVOKE.write__SWIG_10(Image.getCPtr(src), dest, (int)format);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 2
0
    public new static bool read(ImageFloat dest, string src, image_fileformat format)
    {
        bool ret = yarpPINVOKE.read__SWIG_8(ImageFloat.getCPtr(dest), src, (int)format);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 3
0
    public new static bool write(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t src, string dest, image_fileformat format)
    {
        bool ret = yarpPINVOKE.write__SWIG_2(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t.getCPtr(src), dest, (int)format);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 4
0
    public new static bool read(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t dest, string src, image_fileformat format)
    {
        bool ret = yarpPINVOKE.read__SWIG_2(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t.getCPtr(dest), src, (int)format);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }