Image Module

Types

deprecated_A3DPDFImageData
A3DPDFEImageFormat

Fields

kA3DPDFImageFormatUnknown
kA3DPDFImageFormatBmp
kA3DPDFImageFormatPng
kA3DPDFImageFormatJpg
kA3DPDFImageFormatBitmapRgbByte
kA3DPDFImageFormatBitmapRgbaByte
kA3DPDFImageFormatBitmapGreyByte
kA3DPDFImageFormatBitmapGreyaByte
kA3DPDFImageFormatEmf
kA3DPDFImageFormatUrl
kA3DPDFImageFormatGif
kA3DPDFImageFormatTif
kA3DPDFImageFormatPcx
kA3DPDFImageFormatTga
kA3DPDFImageFormatPpm
kA3DPDFImageFormatIlbm
kA3DPDFImageFormatCel
kA3DPDFImageFormatRgb
kA3DPDFImageFormatPsd
kA3DPDFImageFormatSoftimagepic

Functions

A3DStatus deprecated_A3DPDFImageCreate()
A3DStatus deprecated_A3DPDFPageInsertImage()
A3DStatus A3DPDFImageCreateFromFile()
A3DStatus A3DPDFImageCreateFromStream()
A3DStatus A3DPDFPageInsertImage2()

Detailed Description

group a3d_pdf_image_module

Add Images in the page.

This module describes the functions and structures that allow you to add images in the page. These images can only be added on a page, and cannot be retrieved from an existing page.

An image can be used as a static image to be inserted on a page at a specific position. Use A3DPDFPageInsertImage2 for positionning such an image on a page. Also, an image can be stored as an icon in the document, and then be used for interactivity.

Type Documentation

enum A3DPDFEImageFormat

The following image formats are available in HOOPS.

Remark

EMF is only supported on Windows.

Remark

Starting from version 2020, some of these formats are not supported anymore. These are Cel, ILBM, PSD, PCX and TIFF.

See also

A3DPDFImageCreateFromStream

See also

A3DPDFImageCreateFromFile

See also

A3DPDFDocumentExportAsImage

See also

A3DPDFDocumentExportAsImage

Version
4.1

Values:

enumerator kA3DPDFImageFormatUnknown

Undefined format

enumerator kA3DPDFImageFormatBmp

BMP format

enumerator kA3DPDFImageFormatPng

PNG format

enumerator kA3DPDFImageFormatJpg

JPEG format

enumerator kA3DPDFImageFormatBitmapRgbByte

Bitmap RGB format

enumerator kA3DPDFImageFormatBitmapRgbaByte

Bitmap RGBA format

enumerator kA3DPDFImageFormatBitmapGreyByte

Bitmap grey format

enumerator kA3DPDFImageFormatBitmapGreyaByte

Bitmap greya format

enumerator kA3DPDFImageFormatEmf

EMF format, Windows only

enumerator kA3DPDFImageFormatUrl

URL format

enumerator kA3DPDFImageFormatGif

GIF format

enumerator kA3DPDFImageFormatTif

TIFF format, unsupported

enumerator kA3DPDFImageFormatPcx

PCX format, unsupported

enumerator kA3DPDFImageFormatTga

TGA format

enumerator kA3DPDFImageFormatPpm

PPM format

enumerator kA3DPDFImageFormatIlbm

ILBM format, unsupported

enumerator kA3DPDFImageFormatCel

Cel format, unsupported

enumerator kA3DPDFImageFormatRgb

RGB format

enumerator kA3DPDFImageFormatPsd

PSD format, unsupported

enumerator kA3DPDFImageFormatSoftimagepic

Softimagepic format

Function Documentation