Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can imencode() encode a large .bmp image?

I use imencode() method to put the header for the .bmp image. For an image with 20x20 pixels is working but for an image with 400x400 pixels is not working. There is no error when I use large .bmp. The program is a comparer algorithm.

Another question if imencode () is not working with larger images how to create manually the header for the .bmp content?

NOTE: I am using OpenCV 3.0.0