Skip to main content
Version: 3.0.0

Settings

IReplayExportMimeTypes​

Implementation.

import type { IReplayExportMimeTypes } from '@picsart/web-replay-sdk';
ValuesDescription
video/mp4This will be used for suggested export settings for the video mime type
application/pdfThis will be used for suggested export settings for the pdf

IReplayExportSettings​

Implementation.

import type { IReplayExportSettings } from '@picsart/web-replay-sdk';

interface IReplayExportSettings {
'video/mp4': {
fps: number;
resolution: string;
};
'application/pdf': {
dpi: number;
colorMode: 'RGB' | 'CMYK';
unitOfMeasurement: 'PIXEL' | 'CENTIMETER' | 'INCH';
};
}

video/mp4​

PropertyTypeRequiredDescription
fpsnumbernoThe suggested fps value
resolutionstringnoThe suggested resolution for the exported video

application/pdf​

PropertyTypeRequiredDescription
dpinumbernoThe suggested dpi for the pdf
colorMode'RGB' | 'CMYK'noThe color space to be used for generating the pdf
unitOfMeasurement'PIXEL' | 'CENTIMETER' | 'INCH'noThe measurement unit to be used for generating the pdf

IReplayAssetSize​

Web and KMP implementation.

An array that has length for and consists of number. Represents mostly sizing correspondingly (top, right, bottom, left)

IReplayAssetSettings​

Implementation.

import type { IReplayExportMimeTypes } from '@picsart/web-replay-sdk';

interface IReplayAssetSettings {
margins: {
size: IReplayAssetSize;
};
bleed: {
size: IReplayAssetSize;
};
}
PropertyTypeRequiredDescription
margins.sizeIReplayAssetSizenoPrinting margin sizes
bleed.sizeIReplayAssetSizenoPrinting bleed sizes

IReplaySettings​

Implementation.

import type { IReplaySettings } from '@picsart/web-replay-sdk';
PropertyTypeRequiredDescription
assetsIReplayAssetSettingsnoAssets to be used for exporting
exportsIReplayExportSettingsnoSuggested export settings per mime type