Settings
IReplayExportMimeTypes
- Web
- Android
- IOS
import type { IReplayExportMimeTypes } from '@picsart/web-replay-sdk';
| Values | Description |
|---|---|
video/mp4 | This will be used for suggested export settings for the video mime type |
application/pdf | This will be used for suggested export settings for the pdf |
import com.picsart.media.Replay
| Values | Description |
|---|---|
videoMp4 | This will be used for suggested export settings for the video mime type |
applicationPdf | This will be used for suggested export settings for the pdf |
| Values | Description |
|---|---|
videoMp4 | This will be used for suggested export settings for the video mime type |
applicationPdf | This will be used for suggested export settings for the pdf |
IReplayExportSettings
- Web
- Android
- IOS
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';
};
}
import com.picsart.media.Replay.Settings.ExportSettings
data class ExportSettings(
@SerialName("video/mp4")
val videoMp4: VideoMp4? = null,
@SerialName("application/pdf")
val applicationPdf: ApplicationPdf? = null,
)
video/mp4
| Property | Type | Required | Description |
|---|---|---|---|
| fps | number | no | The suggested fps value |
| resolution | string | no | The suggested resolution for the exported video |
application/pdf
| Property | Type | Required | Description |
|---|---|---|---|
| dpi | number | no | The suggested dpi for the pdf |
| colorMode | 'RGB' | 'CMYK' | no | The color space to be used for generating the pdf |
| unitOfMeasurement | 'PIXEL' | 'CENTIMETER' | 'INCH' | no | The measurement unit to be used for generating the pdf |
IReplayAssetSize
An array that has length for and consists of number. Represents mostly sizing correspondingly (top, right, bottom, left)
IReplayAssetSettings
- Web
- Android
- IOS
import type { IReplayExportMimeTypes } from '@picsart/web-replay-sdk';
interface IReplayAssetSettings {
margins: {
size: IReplayAssetSize;
};
bleed: {
size: IReplayAssetSize;
};
}
import com.picsart.media.Replay.Settings.AssetSettings
data class AssetSettings(
@SerialName("margins")
val margins: SizeWrapper? = null,
@SerialName("bleed")
val bleed: SizeWrapper? = null,
)
| Property | Type | Required | Description |
|---|---|---|---|
| margins.size | IReplayAssetSize | no | Printing margin sizes |
| bleed.size | IReplayAssetSize | no | Printing bleed sizes |
IReplaySettings
- Web
- Android
- IOS
import type { IReplaySettings } from '@picsart/web-replay-sdk';
import com.picsart.media.Replay.Settings
| Property | Type | Required | Description |
|---|---|---|---|
| assets | IReplayAssetSettings | no | Assets to be used for exporting |
| exports | IReplayExportSettings | no | Suggested export settings per mime type |