Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Is there any limitation for Max size of the output image of JPEG using IPP

Sathish_S_
Beginner
619 Views

Hello Everyone,

I am doing the JPEG encoding using Intel IPP libs. Everything is looking fine but I am encoding the 70000X70000 image , the output JPEG file is showing 4464X4464 . I ecoded the 50000X50000 image and the output JPEG file is showing correctly as 50000X50000 . I am not sure why 70000X70000 file convrted to 4464X4464. Is there any limitation for JPEG encoding?.

could anyone comment.

Regards,

sathish

0 Kudos
4 Replies
Vladimir_D_Intel1
619 Views

Sathish,

that is due to 16-bit limit for variables representing image width and height in JPEG specification

Vladimir

0 Kudos
Sathish_S_
Beginner
619 Views

Hello Vladimir,

That means, The maximum size of the JPEG file  we can create is 65535X65535. This, we can say it as a limitation.

Is it correct?.Please confirm.

Regards,

sathish.

 

0 Kudos
Vladimir_D_Intel1
619 Views

Sathish,

strictly speaking it is limitation for one jpeg frame. Videly known jpeg jfif file format can contain only single frame for sequential coding process, and so, yet it is limitation for JFIF file format for encoded image.

Regards,
  Vladimir

 

 

0 Kudos
Sathish_S_
Beginner
619 Views

Thank you Vladimir.

Regards,

sathish.

0 Kudos
Reply