@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias ImageTarget

    What an upload becomes. A photo is cropped to fill the box exactly and encoded lossy. A logo may also be an SVG; it is trimmed of transparent borders, fitted whole and padded with transparency to exactly the box, and kept as a palette image when that is the smaller file. See packages/cloudfront/assets/README.md § retailer-logos/ for the pipeline this automates.

    type ImageTarget = {
        height: number;
        kind: "photo" | "logo";
        width: number;
    }
    Index
    height: number
    kind: "photo" | "logo"
    width: number