imencode conversion of unsupported formats broken (Patch #1600)
Description
In imwrite all unsupported matrix formats get converted to CV_8U, which is supported by most encoders.
In imencode the same code for that is in place, but it converts to pimage and later on still the original image is used.. so the conversion takes place, but is never used.
The bug is easy to fix. In https://code.ros.org/trac/opencv/browser/trunk/opencv/modules/highgui/src/loadsave.cpp replace image with *pimage in lines 422 and 430.
History
Updated by Alexander Shishkov almost 13 years ago
- Tracker changed from Bug to Patch
- Target version deleted ()
Updated by Alexander Shishkov almost 13 years ago
- Priority changed from Normal to High
Updated by Vadim Pisarevsky almost 13 years ago
thanks! the problem was fixed recently in SVN trunk.
- Status changed from Open to Done
- Assignee set to Vadim Pisarevsky
Updated by Alexander Shishkov almost 13 years ago
- Target version set to 2.4.0