2018-01-22 20:42:57 +00:00
|
|
|
export interface IMediaDataDimensions {
|
2018-11-02 02:51:57 +00:00
|
|
|
readonly pixels: {
|
|
|
|
readonly x: number;
|
|
|
|
readonly y: number;
|
2018-01-22 20:42:57 +00:00
|
|
|
};
|
2018-11-02 02:51:57 +00:00
|
|
|
readonly emus: {
|
|
|
|
readonly x: number;
|
|
|
|
readonly y: number;
|
2018-01-22 20:42:57 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2017-12-30 21:18:55 +00:00
|
|
|
export interface IMediaData {
|
2018-11-02 02:51:57 +00:00
|
|
|
readonly stream: Buffer | Uint8Array | ArrayBuffer;
|
|
|
|
readonly path?: string;
|
|
|
|
readonly fileName: string;
|
|
|
|
readonly dimensions: IMediaDataDimensions;
|
2017-03-29 22:47:34 +01:00
|
|
|
}
|
2018-01-31 20:08:36 +00:00
|
|
|
|
|
|
|
// Needed because of: https://github.com/s-panferov/awesome-typescript-loader/issues/432
|
2018-08-09 23:40:11 +01:00
|
|
|
/**
|
|
|
|
* @ignore
|
|
|
|
*/
|
2018-01-31 20:12:09 +00:00
|
|
|
export const WORKAROUND2 = "";
|