Gunakake PDF Conversion REST API kanggo nggawe alur kerja dokumen sing disesuaikan ing Go. Iki minangka solusi profesional kanggo ngowahi PDF dadi TIFF lan format dokumen liyane kanthi online nggunakake Go.
Ngonversi PDF file menyang TIFF gambar program ing Go kode. Pustaka piranti lunak kanggo Go iki dirancang kanggo ngowahi PDF file menyang macem-macem format file nggunakake REST API.
API kanggo PDF dadi Gambar ngidini pangembang Go gampang ngowahi PDF dokumen dadi TIFF gambar lan njupuk kauntungan saka format file teks lan grafis.
Ngonversi format dokumen saka PDF dadi TIFF minangka tugas sing rumit. Kabeh PDF menyang TIFF transisi format dileksanakake dening SDK kita Go, nalika njaga isi struktural lan logis utama saka document sumber PDF.
Perpustakaan Go minangka solusi piranti lunak profesional kanggo ngowahi PDF file, TIFF online ing Cloud. SDK iki menehi pangembang Go fungsi kuat lan output kualitas sampurna TIFF.
Conto kode ing ngisor iki nggunakake Conversion API ing basa Go bakal miwiti kanthi cepet.
import (
"os"
"github.com/aspose-words-cloud/aspose-words-cloud-go/dev/api/models"
)
config, _ := models.NewConfiguration("config.json")
wordsApi, ctx, _ := api.CreateWordsApi(config)
doc, _ := os.Open("Input.pdf")
options := map[string]interface{}{"zipOutput": true,}
request := &models.SplitDocumentOnlineRequest{
Document: doc,
Format: ToStringPointer("tiff"),
Optionals: options,
}
split = wordsApi.SplitDocumentOnline(ctx, request)
Run go get -v github.com/aspose-words-cloud/aspose-words-cloud-go/2007/api kanggo nginstal Aspose.Words Cloud SDK for Go. Sampeyan bisa entuk akeh informasi migunani babagan cara instalasi liyane saka bagean "How to use SDK".
Klone Aspose.Words Cloud SDK for Go saka GitHub lan gunakake ing proyek sampeyan. Tututi Instructions iki supaya cepet entuk kredensial keamanan sing dibutuhake lan ngakses REST API kita.
Deleng Repository Documentation kanggo ndeleng rincian.
Sampeyan bisa ngowahi PDF menyang akeh format file liyane: