翻譯|行業(yè)資訊|編輯:胡濤|2023-07-31 14:51:37.390|閱讀 168 次
概述:在本文中我們將向您介紹,如何通過免費的網(wǎng)絡(luò)應(yīng)用程序?qū)?PNG 圖像轉(zhuǎn)換為 PowerPoint 演示文稿,歡迎查閱~
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關(guān)鏈接:
Aspose.Slides 是一款 PowerPoint管理API,用于讀取,編寫,操作和轉(zhuǎn)換PowerPoint幻燈片的獨立API,可將PowerPoint轉(zhuǎn)換為PDF,PDF/A,XPS,TIFF,HTML,ODP和其他PowerPoint格式。
Aspose API支持流行文件格式處理,并允許將各類文檔導(dǎo)出或轉(zhuǎn)換為固定布局文件格式和最常用的圖像/多媒體格式。
PowerPoint 演示文稿是向觀眾或一大群人傳達(dá)想法和信息的最佳方式之一。當(dāng)您將 PNG 轉(zhuǎn)換為 PPT PowerPoint 時,您將獲得一個以圖像作為主幻燈片的演示文稿。此類演示往往比一般演示更具吸引力和趣味性。
當(dāng)您讀完本文時,您將學(xué)會如何通過免費的網(wǎng)絡(luò)應(yīng)用程序?qū)?PNG 圖像轉(zhuǎn)換為 PowerPoint 演示文稿。您可能還對使用代碼行執(zhí)行的 PNG 到 PPT 轉(zhuǎn)換感興趣:在C#中將 PNG 轉(zhuǎn)換為 PPT、在Java中將 PNG 轉(zhuǎn)換為 PPT 、在C++中將 PNG 轉(zhuǎn)換為 PPT以及在Python中將 PNG 轉(zhuǎn)換為 PPT 。
(1)我可以在手機上將 PNG 轉(zhuǎn)換為 PowerPoint 嗎?
是的,您可以在移動設(shè)備上使用推薦的 PNG 到 PPT 轉(zhuǎn)換器。
(2)如何在線將 PNG 轉(zhuǎn)換為 PPT?
轉(zhuǎn)到 PNG 到 PPT 轉(zhuǎn)換器頁面,上傳要在 PowerPoint 中使用的圖像,然后單擊轉(zhuǎn)換。
(3)在線將 PNG 轉(zhuǎn)換為 PPT 安全嗎?
是的。所有 Aspose 轉(zhuǎn)換器和網(wǎng)站都使用 HTTPS,因此您在數(shù)據(jù)傳輸方面無需擔(dān)心。此外,所有上傳用于轉(zhuǎn)換的文件都會在 24 小時內(nèi)刪除。
(4)將 PNG 轉(zhuǎn)換為 PPT 需要多長時間?
您可以在幾秒鐘或幾分鐘內(nèi)將一些 PNG 圖像轉(zhuǎn)換為 PowerPoint 演示文稿。
Aspose.Slides 是由 Aspose 開發(fā)的功能強大的 API,允許開發(fā)人員和應(yīng)用程序處理和操作 PowerPoint 演示文稿、OpenOffice 演示文稿以及其他格式的演示文稿。本質(zhì)上,您可以使用此 API 從頭開始創(chuàng)建 PowerPoint、編輯演示文稿、將 PNG/JPG 或其他圖像轉(zhuǎn)換為演示文稿、將演示文稿轉(zhuǎn)換為 PDF、HTML 或圖像等。
(1)在 C# 中將 PNG 轉(zhuǎn)換為 PPT
using (Presentation pres = new Presentation()) { IPPImage image = pres.Images.AddImage(File.ReadAllBytes("image1.png")); pres.Slides[0].Shapes.AddPictureFrame(ShapeType.Rectangle, 0, 0, 720, 540, image); IPPImage image2 = pres.Images.AddImage(File.ReadAllBytes("image2.png")); ISlide slide2 = pres.Slides.AddEmptySlide(pres.Slides[0].LayoutSlide); slide2.Shapes.AddPictureFrame(ShapeType.Rectangle, 0, 0, 720, 540, image2); IPPImage image3 = pres.Images.AddImage(File.ReadAllBytes("image3.png")); ISlide slide3 = pres.Slides.AddEmptySlide(pres.Slides[0].LayoutSlide); slide2.Shapes.AddPictureFrame(ShapeType.Rectangle, 0, 0, 720, 540, image3); pres.Save("Presentation.ppt", SaveFormat.Ppt); }
(2)在 Java 中將 PNG 轉(zhuǎn)換為 PPT
Presentation pres = new Presentation(); try { IPPImage image = pres.getImages().addImage(Files.readAllBytes(Paths.get("image1.png"))); pres.getSlides().get_Item(0).getShapes().addPictureFrame(ShapeType.Rectangle, 0, 0, 720, 540, image); IPPImage image2 = pres.getImages().addImage(Files.readAllBytes(Paths.get("image2.png"))); ISlide slide2 = pres.getSlides().addEmptySlide(pres.getSlides().get_Item(0).getLayoutSlide()); slide2.getShapes().addPictureFrame(ShapeType.Rectangle, 0, 0, 720, 540, image2); IPPImage image3 = pres.getImages().addImage(Files.readAllBytes(Paths.get("image3.png"))); ISlide slide3 = pres.getSlides().addEmptySlide(pres.getSlides().get_Item(0).getLayoutSlide()); slide3.getShapes().addPictureFrame(ShapeType.Rectangle, 0, 0, 720, 540, image3); pres.save("Presentation.ppt", SaveFormat.Ppt); } catch (IOException e) { e.printStackTrace(); } finally { if (pres != null) pres.dispose(); }
(3)在 C++ 中將 PNG 轉(zhuǎn)換為 PPT
SharedPtr<Presentation> pres = MakeObject<Presentation>(); SharedPtr<ISlideCollection> slides = pres->get_Slides(); SharedPtr<IImageCollection> images = pres->get_Images(); SharedPtr<ISlide> firstSlide = pres->get_Slide(0); SharedPtr<ILayoutSlide> layoutSlide = firstSlide->get_LayoutSlide(); SharedPtr<IPPImage> image = images->AddImage(File::ReadAllBytes(u"image1.png")); firstSlide->get_Shapes()->AddPictureFrame(ShapeType::Rectangle, 0.0f, 0.0f, 720.0f, 540.0f, image); SharedPtr<IPPImage> image2 = images->AddImage(File::ReadAllBytes(u"image2.png")); SharedPtr<ISlide> slide2 = slides->AddEmptySlide(layoutSlide); slide2->get_Shapes()->AddPictureFrame(ShapeType::Rectangle, 0.0f, 0.0f, 720.0f, 540.0f, image2); SharedPtr<IPPImage> image3 = images->AddImage(File::ReadAllBytes(u"image3.png")); SharedPtr<ISlide> slide3 = slides->AddEmptySlide(layoutSlide); slide3->get_Shapes()->AddPictureFrame(ShapeType::Rectangle, 0.0f, 0.0f, 720.0f, 540.0f, image3); pres->Save(u"Presentation.ppt", SaveFormat::Ppt);
(4)在Python中將PNG轉(zhuǎn)換為PPT
with slides.Presentation() as pres: with open("image1.png", "rb") as in_file: image = pres.images.add_image(in_file) pres.slides[0].shapes.add_picture_frame(slides.ShapeType.RECTANGLE, 0, 0, 720, 540, image) with open("image2.png", "rb") as in_file: image2 = pres.images.add_image(in_file) slide2 = pres.slides.add_empty_slide(pres.slides[0].layout_slide) slide2.shapes.add_picture_frame(slides.ShapeType.RECTANGLE, 0, 0, 720, 540, image2) with open("image3.png", "rb") as in_file: image3 = pres.images.add_image(in_file) slide3 = pres.slides.add_empty_slide(pres.slides[0].layout_slide) slide3.shapes.add_picture_frame(slides.ShapeType.RECTANGLE, 0, 0, 720, 540, image3) pres.save("Presentation.ppt", slides.export.SaveFormat.PPT)
以上便是如何在線將 JPG 轉(zhuǎn)換為 PPT ,如您還有關(guān)于產(chǎn)品相關(guān)方面的疑問,可以繼續(xù)瀏覽本系列其他內(nèi)容,也歡迎您加入我們的交流群發(fā)表您遇到的問題。
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn