Type Alias ResizedImage
type ResizedImage = {
dominantColor: string | null;
height: number;
link: string;
objectPosition: string | null;
width: number;
}
dominantColor: string | null;
height: number;
link: string;
objectPosition: string | null;
width: number;
}
Index
Properties
Properties
dominant Color
dominantColor: string | null
Dominant color as #RRGGBB hex code
height
height: number
Post-resize height in pixels
link
link: string
Link to the image. May start with http://, https://, // or /
object Position
objectPosition: string | null
Object position as x% y% (eg 25.0000% 50.0000%)
width
width: number
Post-resize width in pixels
The result of a toResized() call