ImageLoader.loadAsPcd

Load image as pcd.

When an image which has another file type, assertion error is thrown.

class ImageLoader
static
loadAsPcd

Parameters

path string

image file path

loadNoPixels bool

When this flag is supported by a plugin, load only header data and possibly metadata (including embedded thumbnail). When the flag is not supported, pixels are loaded.

option PcdLoadOption

A PhotoCD picture comes in many sizes. 'Base' will load the one sized 768 x 512

Return Value

Type: Image

loaded pcd image

Meta