Updated by Andrey Kamaev about 13 years ago

Hi,

using OpenCV [[OpenCV]] 2.2 x86 distro on Windows7 x64

following code throws error

<pre><code class="cpp">
string outputFileName.assign("default.png");
cv::imwrite(outputFileName,image2); // image2 is [[IplImage]]
</code></pre>


@cv::imwrite@ cv::imwrite method
<pre>
"OpenCV Error: Unspecified error (could not find a writer for the specified exten
sion) in unknown function, file ..\..\..\OpenCVsvn\modules\highgui\src\loadsave.
cpp, line 276"
</pre>

Back