最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【整理】JFIF Jpeg图片的头部数据

工作和技术 crifan 3571浏览 0评论

在调试:

调用微笑的生成的二维码图片

返回后,从request中的content:

    respQrcode = wechat.show_qrcode(respTicket)
    app.logger.debug(‘type(respQrcode)=%s, respQrcode=%s’, type(respQrcode), respQrcode)
    respQrcodeContent = respQrcode.content

返回的respQrcodeContent,经过打印,看起来好像是图片等二进制数据:

其中最开头的部分是:

JFIF

怀疑:

jpeg图片的最开始的头部数据,就是JFIF?

搜:

JFIF

jfif jpeg header

jfif_百度百科

-》

JPEG小组(Independent JPEG Group

JFIF(JPEG File Interchange Format,JPEG档案交换格式)

JPEG File Interchange Format – Wikipedia, the free encyclopedia

JFIF, JPEG File Interchange Format, Version 1.02

“JFIF is a minimal file format that enables JPEG bitstreams to be exchanged between a wide variety of platforms and applications. It does not include any of the advanced features (like tagged headers) found in the TIFF specification. JFIF conforms to the interchange format syntax specified in JPEG Standard (ISO/IEC 10918-1, Annex B); its only additional requirement is the mandatory presence of the application segment APP0 marker right after the SOI (Start of Image) marker.”

JPEG File Interchange Format: Summary from the Encyclopedia of Graphics File Formats

转载请注明:在路上 » 【整理】JFIF Jpeg图片的头部数据

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
87 queries in 0.213 seconds, using 22.09MB memory