Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6628 Discussions

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

Sathish_S_
Beginner
216 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
216 Views

Sathish,

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

Vladimir

Sathish_S_
Beginner
216 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.

 

Vladimir_D_Intel1
216 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

 

 

Sathish_S_
Beginner
216 Views

Thank you Vladimir.

Regards,

sathish.

Reply