Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は画像管理アプリを書いています。
jpeg とそのサムネイルをできるだけ早く開きたい。ユーザーは自分の画像を楽しむことができます。
IOS で Jpeg をデコードする最速の lib はどれですか?
以前は IJL を使用して画像を 1/8 サイズでデコードしていましたが、PC では非常に高速です。IJL のような iOS の lib はありますか?</p>
どうもありがとう!
libjpeg (http://www.ijg.org/) をコンパイルして使用できます。
サムネイルをすばやく開くには、scale_numとのscale_denom値を設定します。
scale_num
scale_denom
jpeg_decompress_struct * cinfo_; /// ..... cinfo_->scale_num = 1; cinfo_->scale_denom = 8; // open photo in 1/8 size