<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic cvSaveImage error  in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/cvSaveImage-error/m-p/892681#M11711</link>
    <description>Hello !!&lt;BR /&gt; Trying to execute an openCV code saved with extention ".c" . Gives me the following error when I try to save an image . &lt;BR /&gt;&lt;BR /&gt;too few arguments in function call&lt;BR /&gt; cvSaveImage(name,img2)&lt;BR /&gt;&lt;BR /&gt;The same program if saved in " .cpp" , there is no error !!&lt;BR /&gt;&lt;BR /&gt;Kindly help</description>
    <pubDate>Fri, 06 Nov 2009 07:18:37 GMT</pubDate>
    <dc:creator>smitavnair</dc:creator>
    <dc:date>2009-11-06T07:18:37Z</dc:date>
    <item>
      <title>cvSaveImage error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cvSaveImage-error/m-p/892681#M11711</link>
      <description>Hello !!&lt;BR /&gt; Trying to execute an openCV code saved with extention ".c" . Gives me the following error when I try to save an image . &lt;BR /&gt;&lt;BR /&gt;too few arguments in function call&lt;BR /&gt; cvSaveImage(name,img2)&lt;BR /&gt;&lt;BR /&gt;The same program if saved in " .cpp" , there is no error !!&lt;BR /&gt;&lt;BR /&gt;Kindly help</description>
      <pubDate>Fri, 06 Nov 2009 07:18:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cvSaveImage-error/m-p/892681#M11711</guid>
      <dc:creator>smitavnair</dc:creator>
      <dc:date>2009-11-06T07:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: cvSaveImage error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cvSaveImage-error/m-p/892682#M11712</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;I'm not expert with OpenCV, so I'm speculating, but I think the issue has nothing to do with OpenCV or IPP and is due to a difference between what C++ allows and C allows when making a function call. By saving a file as .C that was written as .CPP you are asking the compiler to compile your code according to C language conventions. C++ handles "default parameters" in functions differently than C.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;I suspect that if you look at the full definition of your problem function you'll find that it requires more parameters than you are providing, which C++ will handle by "automagically" inserting some default values for the missing parameters (if the function is so defined); but C will complain about this because not all the parameters have been provided for the function call, because it does not have a concept of "default parameters," only "variable parameter lists," which are quite different.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Nov 2009 18:30:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cvSaveImage-error/m-p/892682#M11712</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2009-11-06T18:30:45Z</dc:date>
    </item>
  </channel>
</rss>

