Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

what exactly does the imencode do?

I am converting an image using imencode. I'm currently using opencv 3.4 couldn't find the official documentation for 3.4 but did find one for 3.0. Reading and Writing Images

It's given here that the output is retval and buf its said that The function compresses the image and stores it in the memory buffer that is resized to fit the result.

What is the type of compression/encoding that is followed here in OpenCV?

ex: cv2.imencode(.jpg,image)

I can just transfer this buf to a server through an API, which I know will be in compressed format.

How will I decode the received buf without knowing how it was encoded?

what exactly does the imencode do?

I am converting an image using imencode. I'm currently using opencv 3.4 couldn't find the official documentation for 3.4 but did find one for 3.0. Reading and Writing Images

It's given here that the output is retval and buf its said that The function compresses the image and stores it in the memory buffer that is resized to fit the result.

What is the type of compression/encoding that is followed here in OpenCV?

ex: cv2.imencode(.jpg,image)

I can just transfer this buf to a server through an API, which I know will be in compressed format.

How will I decode the received buf without knowing how it was encoded?

what exactly does the imencode do?

I am converting an image using imencode. I'm currently using opencv 3.4 couldn't find the official documentation for 3.4 but did find one for 3.0. Reading and Writing Images

It's given here that the output is retval and buf its said that The function compresses the image and stores it in the memory buffer that is resized to fit the result.

What is the type of compression/encoding that is followed here in OpenCV?

ex: cv2.imencode(.jpg,image)

I can just transfer this buf to a server through an API, which I know will be in compressed format.

How will I decode the received buf without knowing how it was encoded?

what exactly does the imencode do?

I am converting an image using imencode. I'm currently using opencv 3.4 couldn't find the official documentation for 3.4 but did find one for 3.0. Reading and Writing Images

It's given here that the output is retval and buf its said that The function compresses the image and stores it in the memory buffer that is resized to fit the result.

What is the type of compression/encoding that is followed here in OpenCV?

ex: cv2.imencode(.jpg,image)

I can just transfer this buf to a server through an API, which I know will be in compressed format.

How will I decode the received buf without knowing how it was encoded?

click to hide/show revision 5
retagged

updated 2018-04-03 02:27:17 -0600

berak gravatar image

what exactly does the imencode do?

I am converting an image using imencode. I'm currently using opencv 3.4 couldn't find the official documentation for 3.4 but did find one for 3.0. Reading and Writing Images

It's given here that the output is retval and buf its said that The function compresses the image and stores it in the memory buffer that is resized to fit the result.

What is the type of compression/encoding that is followed here in OpenCV?

ex: cv2.imencode(.jpg,image)

I can just transfer this buf to a server through an API, which I know will be in compressed format.

How will I decode the received buf without knowing how it was encoded?

what exactly does the imencode do?

I am converting an image using imencode. I'm currently using opencv 3.4 couldn't find the official documentation for 3.4 but did find one for 3.0. Reading and Writing Images

It's given here that the output is retval and buf its said that The function compresses the image and stores it in the memory buffer that is resized to fit the result.

What is the type of compression/encoding that is followed here in OpenCV?

ex: cv2.imencode(.jpg,image)cv2.imencode(".jpg",image)

I can just transfer this buf to a server through an API, which I know will be in compressed format.

How will I decode the received buf without knowing how it was encoded? encoded?

what exactly does the imencode do?

I am converting an image using imencode. I'm currently using opencv 3.4 couldn't find the official documentation for 3.4 but did find one for 3.0. Reading and Writing Images

It's given here that the output is retval and buf its said that The function compresses the image and stores it in the memory buffer that is resized to fit the result.

What is the type of compression/encoding that is followed here in OpenCV?

ex: cv2.imencode(".jpg",image)

I can just transfer this buf to a server through an API, which I know will be in compressed format.

How will I decode the received buf without knowing how it was encoded?