Decode part of JPEG file

十年热恋 提交于 2019-12-01 08:08:11

Partial JPEG decoding was implemented in jpeglib-turbo one year ago. I didn't try it, but I guess it should work.

Check it:

Add further partial decoding optimization #34

You can't avoid having to decode the scan lines you want to skip, but you can avoid storing them anywhere. When you get the callback from libjpeg for each row, just wait until the row number matches the section of scanlines you want.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!