Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What you write is really a very "raw" data without even saying how many rows and columns are in the file, and how many bytes per pixel. Maybe some viewers can open this, but they should need some helper text file with absolutely necessary metadata.

Use cv::imwrite to save in formats the image viewer would recognize.

What you write is really a very "raw" data without even saying how many rows and columns are in the file, and how many bytes per pixel. Maybe some viewers can open this, but they should need some helper text file with absolutely necessary metadata.

Use cv::imwrite to save in formats the image viewer would recognize.