# C++에서 PowerPoint 프레젠테이션을 TIFF로 변환

> Aspose.Slides for C++를 사용하여 PowerPoint(PPT, PPTX) 프레젠테이션을 고품질 TIFF 이미지로 손쉽게 변환하는 방법을 코드 예제와 함께 배웁니다.

Source: https://docs.aspose.com/slides/ko/cpp/convert-powerpoint-to-tiff/
Updated: 2026-06-14

## **소개**

TIFF(**Tagged Image File Format**)은 뛰어난 품질과 그래픽 세부 보존으로 널리 사용되는 무손실 래스터 이미지 형식입니다. 디자이너, 사진가 및 데스크톱 퍼블리셔는 이미지의 레이어, 색 정확도 및 원본 설정을 유지하기 위해 종종 TIFF를 선택합니다.

Aspose.Slides를 사용하면 PowerPoint 슬라이드(PPT, PPTX)와 OpenDocument 슬라이드(ODP)를 고품질 TIFF 이미지로 손쉽게 변환하여 프레젠테이션의 시각적 충실도를 최대한 유지할 수 있습니다.

## **프레젠테이션을 TIFF로 변환**

[Presentation](https://reference.aspose.com/slides/ko/cpp/aspose.slides/presentation/) 클래스가 제공하는 [Save](https://reference.aspose.com/slides/ko/cpp/aspose.slides/presentation/save/) 메서드를 사용하면 전체 PowerPoint 프레젠테이션을 빠르게 TIFF로 변환할 수 있습니다. 생성된 TIFF 이미지는 기본 슬라이드 크기에 대응합니다.

다음 C++ 코드는 PowerPoint 프레젠테이션을 TIFF로 변환하는 방법을 보여 줍니다:

```cpp
// 프레젠테이션 파일(PPT, PPTX, ODP 등)을 나타내는 Presentation 클래스를 인스턴스화합니다.
auto presentation = MakeObject<Presentation>(u"Demo_File.pptx");

// 프레젠테이션을 TIFF 형식으로 저장합니다.
presentation->Save(u"Output.tiff", SaveFormat::Tiff);

presentation->Dispose();
```

## **프레젠테이션을 흑백 TIFF로 변환**

[TiffOptions](https://reference.aspose.com/slides/ko/cpp/aspose.slides.export/tiffoptions/) 클래스의 [set_BwConversionMode](https://reference.aspose.com/slides/ko/cpp/aspose.slides.export/tiffoptions/set_bwconversionmode/) 메서드를 사용하면 컬러 슬라이드나 이미지를 흑백 TIFF로 변환할 때 사용할 알고리즘을 지정할 수 있습니다. 이 설정은 [set_CompressionType](https://reference.aspose.com/slides/ko/cpp/aspose.slides.export/tiffoptions/set_compressiontype/) 메서드가 `CCITT4` 또는 `CCITT3`으로 설정된 경우에만 적용됩니다.

예를 들어 다음과 같은 슬라이드를 포함한 "sample.pptx" 파일이 있다고 가정해 보겠습니다:

![프레젠테이션 슬라이드](slide_black_and_white.png)

다음 C++ 코드는 컬러 슬라이드를 흑백 TIFF로 변환하는 방법을 보여 줍니다:

```cpp
auto tiffOptions = MakeObject<TiffOptions>();
tiffOptions->set_CompressionType(TiffCompressionTypes::CCITT4);
tiffOptions->set_BwConversionMode(BlackWhiteConversionMode::Dithering);

auto presentation = MakeObject<Presentation>(u"sample.pptx");
presentation->Save(u"output.tiff", SaveFormat::Tiff, tiffOptions);

presentation->Dispose();
```

결과:

![흑백 TIFF](TIFF_black_and_white.png)

## **사용자 지정 크기의 TIFF로 프레젠테이션 변환**

특정 크기의 TIFF 이미지가 필요한 경우 [TiffOptions](https://reference.aspose.com/slides/ko/cpp/aspose.slides.export/tiffoptions/)에 있는 메서드를 사용해 원하는 값을 설정할 수 있습니다. 예를 들어, [set_ImageSize](https://reference.aspose.com/slides/ko/cpp/aspose.slides.export/tiffoptions/set_imagesize/) 메서드를 사용하면 결과 이미지의 크기를 지정할 수 있습니다.

다음 C++ 코드는 사용자 지정 크기로 PowerPoint 프레젠테이션을 TIFF 이미지로 변환하는 방법을 보여 줍니다:

```cpp
// 프레젠테이션 파일(PPT, PPTX, ODP 등)을 나타내는 Presentation 클래스를 인스턴스화합니다.
auto presentation = MakeObject<Presentation>(u"sample.pptx");

auto tiffOptions = MakeObject<TiffOptions>();

// 압축 유형을 설정합니다.
tiffOptions->set_CompressionType(TiffCompressionTypes::Default);
/*
압축 유형:
    Default - 기본 압축 방식(LZW)을 지정합니다.
    None - 압축을 적용하지 않음을 지정합니다.
    CCITT3
    CCITT4
    LZW
    RLE
*/

// 깊이는 압축 유형에 따라 달라지며 수동으로 설정할 수 없습니다.

// 이미지 DPI를 설정합니다.
tiffOptions->set_DpiX(200);
tiffOptions->set_DpiY(200);

// 이미지 크기를 설정합니다.
tiffOptions->set_ImageSize(System::Drawing::Size(1728, 1078));

auto notesOptions = MakeObject<NotesCommentsLayoutingOptions>();
notesOptions->set_NotesPosition(NotesPositions::BottomFull);
tiffOptions->set_SlidesLayoutOptions(notesOptions);

// 지정된 크기로 프레젠테이션을 TIFF로 저장합니다.
presentation->Save(u"custom_size.tiff", SaveFormat::Tiff, tiffOptions);

presentation->Dispose();
```

## **사용자 지정 이미지 픽셀 형식 TIFF로 프레젠테이션 변환**

[TiffOptions](https://reference.aspose.com/slides/ko/cpp/aspose.slides.export/tiffoptions/) 클래스의 [set_PixelFormat](https://reference.aspose.com/slides/ko/cpp/aspose.slides.export/tiffoptions/set_pixelformat/) 메서드를 사용하면 결과 TIFF 이미지에 적용할 픽셀 형식을 지정할 수 있습니다.

다음 C++ 코드는 사용자 지정 픽셀 형식으로 PowerPoint 프레젠테이션을 TIFF 이미지로 변환하는 방법을 보여 줍니다:

```cpp
// 프레젠테이션 파일(PPT, PPTX, ODP 등)을 나타내는 Presentation 클래스를 인스턴스화합니다.
auto presentation = MakeObject<Presentation>(u"Demo_File.pptx");

auto tiffOptions = MakeObject<TiffOptions>();

tiffOptions->set_PixelFormat(ImagePixelFormat::Format8bppIndexed);
/*
ImagePixelFormat은 (문서에 명시된 대로) 다음 값을 포함합니다:
    Format1bppIndexed - 픽셀당 1비트, 인덱스 형식.
    Format4bppIndexed - 픽셀당 4비트, 인덱스 형식.
    Format8bppIndexed - 픽셀당 8비트, 인덱스 형식.
    Format24bppRgb    - 픽셀당 24비트, RGB.
    Format32bppArgb   - 픽셀당 32비트, ARGB.
*/

// 지정된 이미지 크기로 프레젠테이션을 TIFF로 저장합니다.
presentation->Save(u"Custom_Image_Pixel_Format.tiff", SaveFormat::Tiff, tiffOptions);

presentation->Dispose();
```

{{% alert title="팁" color="primary" %}}
Aspose의 [무료 PowerPoint 포스터 변환기](https://products.aspose.app/slides/ko/conversion/convert-ppt-to-poster-online)를 확인해 보세요.
{{% /alert %}}

## **자주 묻는 질문**

**개별 슬라이드를 전체 PowerPoint 프레젠테이션이 아닌 TIFF로 변환할 수 있나요?**

예. Aspose.Slides를 사용하면 PowerPoint 및 OpenDocument 프레젠테이션의 개별 슬라이드를 별도로 TIFF 이미지로 변환할 수 있습니다.

**프레젠테이션을 TIFF로 변환할 때 슬라이드 수에 제한이 있나요?**

아니요. Aspose.Slides는 슬라이드 수에 제한을 두지 않으며, 크기에 관계없이 프레젠테이션을 TIFF 형식으로 변환할 수 있습니다.

**슬라이드를 TIFF로 변환할 때 PowerPoint 애니메이션 및 전환 효과가 유지되나요?**

아니요. TIFF는 정적 이미지 형식이므로 애니메이션 및 전환 효과는 유지되지 않으며, 슬라이드의 정적인 스냅샷만 내보내집니다.
