Jpegli, Google's new open source JPEG encoding library

Jpegli yemhando yepamusoro yeJPEG encoding

Jpegli

Google yakazivisa mazuva akati wandei apfuura kuburikidza ne blog post kusunungurwa kweJpegli, itsva yakavhurika sosi raibhurari iyo inopa yepamusoro JPEG mufananidzo encoder uye decoder uye iyo yakagadzirirwa kuvandudza zvakanyanya kudzvanywa kwemufananidzo pasina kukanganisa kunaka.

Jpegli, ine chinangwa chekudzikisa zvakanyanya saizi yeJPEG mafaera uchichengetedza mhando yemufananidzo uye kudzivirira zvigadzirwa zvakajairika mumifananidzo yakamanikidzwa. Izwi rekuti "li" kumagumo ejpegli rinobva kuSwiss German dialects uye rinoreva "diki," zvichiratidza kutarisa kwaro pakudzikisa saizi yemafaira eJPEG.

Jpegli Features

Chinhu chinozivikanwa cheJpegli ndechekuti Iri nani zvishoma pane WebP nekuda kwekukurumidza uye kwemhando yepamusoro compression, pamusoro pekugona kwayo kuvharidzira mifananidzo ine gumi kana kupfuura mabhiti pachikamu cheruvara, ichiramba ichienderana nemadhikodha eJPEG aripo anongotsigira 10 bits pachikamu chemavara. Izvi zvinoita kuti mifananidzo yejpegli-encoded ienderane zvizere neJPEG chiyero uye inoenderana nevataridzi venguva dzose uye mabhurawuza. Pamusoro pezvo, raibhurari inopa encoding yekumhanyisa inofananidzwa nemaraibhurari akadai se libjpeg-turbo uye MozJPEG.

Of the zvinhu zvinoonekera kubva kuJpegli, zvinotevera zvakataurwa:

Kuenderana uye compression kuvandudzwa

Jpegli inochengetedza kuenderana kwepamusoro neshanduro dzakapfuura dzeiyo JPEG fomati, kuve nechokwadi chekubatanidzwa kusina musono mumasisitimu aripo. Pamusoro pezvo, inopa inokatyamadza 35% kuvandudzwa kweiyo compression ratio pamhando yepamusoro zvigadziriso, zvichikonzera kukurumidza kuita peji rewebhu pasina kukanganisa kupinza kwemufananidzo.

Kubudirira uye kuvandudzwa kwekuita

Jpegli yakakwirira pane iripo JPEG decoder sezvo iine hunyanzvi uye kuita zvirinani. Iyo Jpegli encoder uye decoder zvinonyatso dyidzana uye zvinoenderana neyakare JPEG standard. Izvi zvinoreva kuti vanogadzira vanogona kubatanidza Jpegli mune yavo iripo yekufambisa basa pasina kupira encoding kumhanya kana ndangariro kushandiswa. Pamusoro pezvo, kumhanya kweJpegli encoding kunofananidzwa nemaitiro echinyakare senge libjpeg-turbo uye MozJPEG, kuve nechokwadi chekushanda kwakakwana.

Kuvandudzwa kwemhando yemufananidzo

Iyo raibhurari inoshandisa matekiniki epamusoro kuverenga nemazvo epakati mhedzisiro panguva yekumanikidza kwemufananidzo uye decompression. Izvi zvinoguma nemifananidzo yemhando yepamusoro ine zvinyorwa zvishoma zvinooneka uye kutaridzika kwakapinza. Iyo zvakare inobvumira encoding neanopfuura gumi mabhiti pachikamu, izvo zvinowedzera kunatsiridza mhando yemufananidzo nekudzikisira mabhandi ekugadzira mune zvishoma gradients.

Coding maitiro

Jpegli inobatanidza huwandu hwemaitiro matsva ekuvandudza kunaka kwemufananidzo uye kuderedza ruzha. Izvi zvinosanganisira zvinhu zvina zvakakosha kuti uwane kudzvanya kukuru pasina kurasikirwa nemhando:

  1. Adaptive Quantization: Panzvimbo pekushandisa yakagadziriswa quantization seyakajairwa JPEG mafaera, jpegli inoshandisa adaptive quantization. Iyi tekinoroji inogadzirisa kuti ndezvipi zvinhu zvemufananidzo zvinofanirwa kuchengetedzwa zvichibva pamatunhu emifananidzo, kuderedza ruzha uye kuchengetedza ruzivo. Izvi zvinobvumira 35% compression pasina kukanganisa kunaka.
  2. Yakavandudzwa Matrix Sarudzo: Jpegli inoshandisa yakagadziridzwa sarudzo yequantization matrices, iyo inobatsira kukwirisa mufananidzo compression uye mhando. Kuwedzeredzwa uku kunobva pane epamberi matrix ekusarudza matekiniki anoshandiswa mumaraibhurari akadai seJPEG XL.
  3. Maverengero Akarurama: Raibhurari inoita maverengero chaiwo panguva yekumanikidza uye decompression process, kuve nechokwadi chekumiririra yakatendeka yemufananidzo wepakutanga uye kudzivirira kuunzwa kwezvinhu zvisingadiwe.
  4. Optional Advanced Color Space: Jpegli inopawo sarudzo yekushandisa yakakwira ruvara nzvimbo, ichibvumira kuchinjika kukuru uye kurongeka mukumiririra kwemavara, kunyanya mumifananidzo ine yakafara color gamut.

Chinhu chinonyanya kuzivikanwa nezve jpegli ndechekuti kutarisa kwayo pamhando yemufananidzo. Inoshandisa matekinoroji epamberi kuderedza ruzha uye kuvandudza mhando yekuona, kushandisa nzira dzinoshanda dzepsychovisual modhi yekudzikisa zvigadzirwa mumifananidzo inoguma. Aya magadzirirwo anoenderana neadaptive quantization heuristics inoshandiswa muJPEG XL purojekiti, pamwe neakagadziridzwa algorithms equantization matrix kusarudzwa uye epakati kuverenga.

Kana uri kufarira kuziva zvakawanda nezvazvo, unogona kutarisa ruzivo Mune inotevera chinongedzo uye iwe unogona kubvunza kwaro kodhi Mune inotevera chinongedzo.


Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako