# A3DConvertPDFToImage

A3DStatus `A3DConvertPDFToImage`(const A3DUTF8Char *pcInPDFFilename, const A3DInt32 iNumPage, const A3DDouble dScale, const A3DPDFEImageFormat eFormatOut, const A3DUTF8Char *pcOutImgFileName, A3DInt32 *piNbPages)
  `A3DStatus` A3DConvertPDFToImage(const `A3DUTF8Char`* pcInPDFFilename, const `A3DInt32` iNumPage, const `A3DDouble` dScale, const `A3DPDFEImageFormat` eFormatOut, const `A3DUTF8Char`* pcOutImgFileName, `A3DInt32`* piNbPages)

  Convert a PDF file to an image.

  Parameters

  > pcInPDFFilename: Path to the input PDF file.

  > iNumPage: Page number to convert (1-based), or 0 for all pages.

  > dScale: Scale factor for the output image.

  > eFormatOut: Output image format.

  > pcOutImgFileName: Path to the output image file.

  > piNbPages: Number of pages in the PDF.

  Returns

  > A3D_SUCCESS on success or an error code on failure.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...