Sizochaza ukuthi singaziguqula kanjani izithombe zibe yi- I-JPG ifomethi ye-PDF Ngendlela elula. Uma ufuna ukwenza isenzo esibuyela emuva, ungahle ube nentshisekelo kuhlelo lomugqa womyalo olubizwa nge-pdfimages ukulahla izithombe eziqukethwe ngefomethi ye-PDF iye ku-JPEG. Kepha esikufunayo kulesi sihloko kumane nje kuphambene, ukusuka ku-JPG kuye ku-PDF ngethuluzi elilula njengoba sizokwazi ukubona. Ngendlela, kukhona namakhasi ewebhu ukwenza lolu hlobo lokuguqulwa ngokuphelele ku-inthanethi futhi mahhala ...
Ukwenza lolu hlobo lokuguqulwa sidinga ukufaka iphakheji ku-distro yethu esiyithandayo isithombe noma iphakheji gscan2pdf, kuya ngokuthi sifuna indlela yomugqa womyalo noma indlela yokuqhafaza. Ukufaka kulula, kufanele usebenzise amathuluzi okuphatha iphakheji asetshenziswa ukusabalalisa okusebenzisayo bese ufaka iphakheji ngegama layo njengoba sibonisile lapha, futhi uma selifakiwe, manje siya ezinyathelweni okufanele uzilandele ukuze ukwazi ukuguqula isithombe esisodwa noma eziningi ze-JPG zibe yi-PDF.
Guqula i-JPG ibe yi-PDF kusuka kulayini womyalo:
Uma ukhethe inketho yomugqa womyalo futhi ufake iphakethe le-imagemagick, uma kunjalo, uma selifakiwe, singakwazi ukufinyelela ochungechungeni lwamathuluzi womugqa womyalo kanye nezinketho ezingokoqobo. Sizosebenzisa umyalo wokuguqula ukuguqula. Iqiniso ukuthi linezinketho eziningi, ngakho-ke ngincoma ukuthi ubuyekeze imanuwali.
Kepha into eyisisekelo, okuyiyona esiyifunayo ngalesi sifundo, kungaba ukuguqula kusuka enkombeni lapho isithombe noma izithombe zitholakala khona. Isibonelo, cabanga ukuthi sifuna ukuguqula zonke izithombe eziku- / isiqondisi sasekhaya zibe yi-PDF noma eyodwa nje. Ngalokhu ungasebenzisa owokuqala noma owesibili wemiyalo elandelayo:
cd /home convert *.jpg nombre.pdf convert foto.jpg nombre.pdf
Kokuqala, zonke izithombe ze-JPEG zidluliswa ngasikhathi sinye kwi-PDF kuthi kwesesibili, kutholakale kuphela okufana nalelo gama. Ungasebenzisa futhi ukuminyaniswa ngenketho ye- + compress, -rotate ukuzungezisa isithombe ngamadigri owacacisa njengepharamitha, njll. Isibonelo, unga jikelezisa isithombe ama-degree angama-90 bese ufaka ukucindezela ngomyalo olandelayo:
convert -rotate 90 foto.jpg +compress nombre.pdf
Kepha uma imiyalo akuyona into yakho, ungadlulela esigabeni esilandelayo ...
I-JPEG ekuguqulweni kwe-PDF usebenzisa isikhombimsebenzisi sokuqhafaza:
Sicabanga ukuthi sesivele sinayo i- Uhlelo lwe-gscan2pdf, ake sibone ukuthi inqubo ilula impela. Izinyathelo yilezi:
- Siyavula i-gscan2pdf.
- Sifaka izithombe noma sikhetha umkhombandlela lapho izithombe esifuna ukuziguqula zikhona.
- Uma usungezile, singakwazi zihlele kabusha ngokuhudula kusuka esikrinini esikhulu sohlelo lokusebenza, kusuka kuhlu lwezithombe ezivela kwesobunxele.
- Uma sekuhlelwe kahle singachofoza inkinobho Gcina ukuze wonge.
- Manje kuzovela isikrini lapho singakhetha khona abaningi izinketho, kufaka phakathi ukushintsha imethadatha ye-PDF, ukufaka igama, usuku, uhlobo, umbhali, umthombo, njll. Yize kungenasidingo ukuwagcwalisa uma singadingi wona. Okubalulekile ukukhetha konke uma sifuna ukuguqula zonke izithombe njengamakhasi we-PDF futhi ngefomethi yokukhipha khetha ifayela le- Ifomethi ye-PDF, ngoba isekela amanye amafomethi ...
- Siyamukela futhi izokhiqiza i-PDF ngezithombe zethu.
Ngiyethemba ukuthi kukusizile, ukuthola ezinye iziphakamiso noma ukungabaza, ungakhohlwa ukuhamba ukuphawula kwakho...
Kuhle kakhulu. Siyabonga ngolwazi.
Ngisebenzise inketho
guqula * .jpg igama.pdf
futhi yenza lokho ebikudinga: iguqula futhi ihlanganise zonke izithombe ze-jpg zibe yifayela elilodwa le-pdf.
Okuthunyelwe okuhle kakhulu, bekusiza kakhulu. Siyabonga ngokwabelana.
I- "easy" elandelwa umugqa womyalo, ngikuthola kuphikisana. Kucatshangwa ukuthi sonke sazi izinto eziningi mayelana ne-terminal, i-Sudo, ifolda ejabulisayo lapho ungabeka khona amafayela, njll. kepha ngihlala ngihlangabezana nenkinga ethile.
Kulula kungaba yinto ebonakalayo futhi enembile, okusele kuseyi-linux yezibuko.
ithuluzi elihle kakhulu:
ukufaka ipayipi img2pdf
img2pdf -o okukhiphayo.pdf input.jpg
Uhlelo lokusebenza oluhle, siyabonga ngethiphu.
Uhlelo lokusebenza oluhle, ngiyabonga kakhulu.