Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
5 Views

UIC JPEG encoder JPEGEncoderParamsXXX not well designed

Every type of m_color declared inside class JPEGEncoderParamsXXX (uic.jpeg.enc.h) was JCOLOR. However, it actually a IM_COLOR type. This might confuse the user. I recommend you change the UIC JPEG sample to prevent try and error. And suggest you to review the decoder part.
0 Kudos
2 Replies
Highlighted
Employee
5 Views

thanks for your report. I will forward it to our engineer expert to have a comment.

Regards,
Chao
0 Kudos
Highlighted
Employee
5 Views

Hi Bell,
You're right, this is not only confusing but error-prone too. We'll revise using of colors in all image codecs.
Thank you!
Regards,
Sergey
0 Kudos