# C++ uygulaması aracılığıyla PPTX'i JPEG'e dönüştürün

> PPTX belgesi için JPEG formatına örnek C++ dönüştürme kodu. Herhangi bir C++ Uygulamasında toplu PPTX'ten JPEG'e dönüştürme için örnek kod kullanın.

Source: https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-jpeg/
Updated: 2026-10-27



## C++ Kullanarak PPTX'i JPEG'e Dönüştürme

PPTX'i JPEG'e dönüştürmek için kullanacağız
 [Aspose.Slides for C++](https://products.aspose.com/slides/tr/cpp/)
 C++ platformu için zengin özelliklere sahip, güçlü ve kullanımı kolay bir belge işleme ve dönüştürme API'si olan API. En son sürümünü doğrudan indirebilirsiniz, sadece açın
 [NuGet](https://www.nuget.org/packages/aspose.slides)
 paket yöneticisi, ara
 Aspose.Slides.Cpp
 ve yükleyin. Paket Yöneticisi Konsolundan aşağıdaki komutu da kullanabilirsiniz.

### Emretmek

```cs

PM> Install-Package Aspose.Slides.Cpp

```

### PPTX - JPEG C++ Dönüştürme Kaynak Kodu

```cs
// Load the PPTX
SharedPtr<Presentation> pres = MakeObject<Presentation>(u"sourceFile.pptx");

// Access the first slide
SharedPtr<ISlide> slide = pres->get_Slides()->idx_get(0);

// User defined dimension
int desiredX = 1200;
int desiredY = 800;

// Getting scaled value  of X and Y
float ScaleX = (float)(1.0 / pres->get_SlideSize()->get_Size().get_Width()) * desiredX;
float ScaleY = (float)(1.0 / pres->get_SlideSize()->get_Size().get_Height()) * desiredY;

// Create a custom scale image
auto bitmap = slide->GetThumbnail(ScaleX, ScaleY);

bitmap->Save(u"output.jpeg", ImageFormat::get_Jpeg());

//Iterate through each slide via index and convert

```

## PPTX'i C++ ile JPEG'e Dönüştürme Adımları

C++ geliştiricileri, PPTX dosyasını yalnızca birkaç satır kodla kolayca JPEG'e dönüştürebilir.

1. PPTX dosyasını Aspose.Slides for C++ Presentation Object ile yükleyin.

1. İlk slaydı seçin.

1. İstenen boyutları ayarlayın.

1. Küçük resmi istediğiniz boyutlarda alın.

1. JPEG çıktı parametresine sahip Save() yöntemini çağırın.

1. JPEG dosyasını uyumlu programda açın.

## sistem gereksinimleri

C++ dönüştürme örnek kodunu çalıştırmadan önce aşağıdaki ön koşullara sahip olduğunuzdan emin olun.

- Microsoft Windows veya Windows 32 bit, Windows 64 bit ve Linux 64 bit için C++ Runtime Environment ile uyumlu bir işletim sistemi.
- Projenizde referans verilen C++ DLL için Aspose.Slides.

## PPTX dosyasını çevrimiçi olarak JPEG biçimine dönüştürün

Ücretsiz Aspose.Slides Conversion uygulaması, yukarıdaki kodla aynı API olan [Aspose.Slides for C++](https://products.aspose.com/slides/tr/cpp/) ile geliştirilmiştir. Uygulamayı açın ve API'nin kendi PPTX dosyalarınızla neler yapabildiğini görün.

- Tarayıcınızda çalışır, hiçbir şey yüklemeniz gerekmez.
- Kod yazmadan önce Aspose.Slides'ın dosyaları nasıl dönüştürdüğünü görün.
- PPTX dosyalarını yükleyin ve JPEG olarak kaydedin.
- Sonucu indirin veya daha fazla dosya dönüştürün.

## Desteklenen Diğer Dönüşümler

- [PPTX TO BMP](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-bmp/) — Bitmap Görüntüsü
- [PPTX TO EMF](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-emf/) — Gelişmiş Meta Dosyası Formatı
- [PPTX TO GIF](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-gif/) — Grafik Değişim Formatı
- [PPTX TO HTML](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-html/) — Hiper Metin İşaretleme Dili
- [PPTX TO ODP](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-odp/) — OpenDocument Sunum Formatı
- [PPTX TO OTP](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-otp/) — OpenDocument Standart Biçimi
- [PPTX TO PDF](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-pdf/) — Taşınabilir Döküman Formatı
- [PPTX TO PNG](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-png/) — taşınabilir Ağ Grafikleri
- [PPTX TO POT](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-pot/) — Microsoft PowerPoint Şablon Dosyaları
- [PPTX TO POTM](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-potm/) — Microsoft PowerPoint Şablon Dosyası
- [PPTX TO POTX](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-potx/) — Microsoft PowerPoint Şablonu Sunumu
- [PPTX TO PPS](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-pps/) — PowerPoint Slayt Gösterisi
- [PPTX TO PPSM](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-ppsm/) — Makro Etkin Slayt Gösterisi
- [PPTX TO PPSX](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-ppsx/) — PowerPoint Slayt Gösterisi
- [PPTX TO PPT](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-ppt/) — Microsoft PowerPoint 97-2003
- [PPTX TO PPTM](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-pptm/) — Makro Etkin Sunum Dosyası
- [PPTX TO SVG](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-svg/) — ölçeklendirilebilir Vektör Grafiği
- [PPTX TO TIFF](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-tiff/) — Etiketli Görüntü Formatı
- [PPTX TO XML](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-xml/) — Genişletilebilir İşaretleme Dili
- [PPTX TO XPS](https://products.aspose.com/slides/tr/cpp/conversion/pptx-to-xps/) — XML Kağıt Özellikleri
