Skip to content

Artwork dimensions letterboxing ambiguity #128

Closed

Description

@kahrendt

aiosendspin letterboxes artwork: https://github.com/Sendspin/aiosendspin/blob/9212f920e8fbaf9ad357b43835bd32cc386e73b8/aiosendspin/server/roles/artwork/group.py#L161-L181

The spec says "Note: The server will scale images to fit within the specified dimensions while preserving aspect ratio."

By my read, that makes it seem like it won't letterbox, but instead not exceed the dimensions.

My preference is the server letterboxes, it makes support on the client side easier.

Activity

  1. maximmaxim345 commented on Aug 18, 2026

    @maximmaxim345
    Member

    I actually haven't noticed that this could also be interpreted in a different way but you're right. We should require servers to letterbox.

    Should we also define that padding needs to be black?

  2. maximmaxim345 commented on Aug 19, 2026

    @maximmaxim345
    Member

    Was thinking a bit more about this. Servers should letterbox, so the image arrives at exactly the dimensions declared for the channel, but we should not mandate how the padding looks. Mandating is simple, but I can imagine better ways to fill that space, like a blurred version of the cover in the background, or just using an extracted color of the artwork.

    One thing I would pin down is that the image is uncropped, otherwise part of it might get cut off.

    Was also thinking about whether we want to allow clients to ask for a not letterboxed version, but that is IMO outside the scope here and something for later/artwork@v2, since it needs more thought (especially with #135).

  3. kahrendt commented on Aug 19, 2026

    @kahrendt
    ContributorAuthor

    I agree with not mandating how the padding should look, but I also imagine using an extracted color could really clash with how the client is configured; e.g., it has its own color gradient fore surrounding background.

    Perhaps it would be better to drop the letterbox, I can make that work on the client side. Then clients can determine how they should fill in the space instead.

  4. balloob commented on Aug 19, 2026

    @balloob
    Contributor

    We are going to letterbox, black background. We're going to update phrasing for this.

  5. maximmaxim345 commented on Aug 19, 2026

    @maximmaxim345
    Member

    We need to call media_width just width (and height as well)

  6. moved this from Next to In Progress in Sendspin Project Boardon Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions