Ungayenza njani ubungakanani kwakhona bezithombe kwi-Ubuntu

Hlela imifanekiso ku-Ubuntu

Ngokuqinisekileyo abaninzi kuni sele kufuneka yenza ubungakanani kwakhona beefoto kwaye uzenzile nganye nganye, kunye nenkcitho yexesha, ngumsebenzi onzima ekufuneka uninzi lwee-webmasters luwenze ngaphezulu kwenyanga kwaye ingesiso sodwa.

Ubuntu kudala unikezela amandla okwenza ukubanakho ukwenza lo msebenzi ngomyalelo olula kunye nokugcina ixesha okulandelayo. Udinga nje ukwazi owona myalelo, phawula isisombululo kwaye ukhethe iifoto ezininzi esifuna ukukhulisa ubungakanani bazo.

I-ImageMagick iya kusivumela ukuba siphinde silinganise iifoto kwi-Ubuntu yethu

Ukwenza lo msebenzi, Umsebenzisi Ubuntu ufuna i-ImageMagick, isoftware edla ngokuza ifakwe ku-Ubuntu kodwa ngekhe kubi ukujonga ukuba sinayo na okanye hayi ngaphambi kokuyifaka. Nje ukuba olu hlolo lwenziwe siye kwisiphelo sendlela kwaye Kwisiphelo siya kwifolda apho imifanekiso sifuna ukuphinda siyenze ubungakanani kwakhona. Sinokuya kwifolda ngokwemifanekiso kwaye sivule i-terminal kwifolda. Nje ukuba sikwenze oku, kufuneka sibhale lo myalelo ulandelayo ukuze siphinde silinganise iifoto kwakhona:

mogrify -resize 800 *.jpg

Ke, zonke iifoto ezikule folda ziya kubuyiselwa kubungakanani beepixels ezingama-800. Inani lingaguqulwa ngendlela esithanda ngayo, kodwa omnye umthetho usahleli. Ukuba sifuna ubungakanani kwakhona iifoto kubungakanani ethile, emva koko siya kubhala oku kulandelayo:

mogrify -resize 800x600! *.jpg

Ngayiphi na imeko, lo myalelo yenza ubungakanani kwakhona bemifanekiso kunye nolwandiso lwe jpg, ukuze imifanekiso ekwifomathi ye-png okanye enye ifomathi yemizobo ayiyi kukhutshwa kwakhona, kuba oku kuya kufuneka ukutshintsha ulwandiso lwefomathi. Ngayiphi na imeko, ngalo myalelo kuya kufuneka silinde ngelixa u-Ubuntu esenza umsebenzi wokuphindaphinda iifoto ngobuninzi, into esebenzayo kunye eluncedo kubasebenzisi abaninzi be-Ubuntu abasebenza ngemifanekiso mihla le.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Izimvo ezi-3, shiya ezakho

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   UGustavo Anaya sitsho

    Ndisebenzisa ukuguqula i-aue kum isebenza kakuhle. Enkoso ngokwabelana!

    1.    UJimmy Olano sitsho

      Ogqwesileyo! Ukuguqula kusekwe kwi-ImageMagick kodwa ujongano oluhle kakhulu lomzobo (nangona kum ndiyifumana iluncedo ngakumbi njengomgca wokuyalela kwiiseva ze-Apache zewebhu) nakwezinye iinkqubo zokusebenza ezingezizo i-GNU / Linux Enkosi ngolwazi, ndiyongezile kwisifundo sam kumfanekisoMagick!

  2.   UJimmy Olano sitsho

    Ewe ndinokufundisa kwiphepha lam lewebhu kwaye loo myalelo ubungaziwa kum!
    Sele ndiyongeze njengesalathiso, ukuqhubeka nokwabelana ngolwazi!
    ENKOSI. 😎