Needs config option for specifying thumbnail resolution #324

Open
opened 2023-01-12 22:25:52 +00:00 by sneedcore · 4 comments

Hello, I noticed that the thumbnail resolution between https://akkoma.dev/FoundKeyGang/FoundKey/src/branch/main/packages/client/src/scripts/upload.ts
and
https://akkoma.dev/FoundKeyGang/FoundKey/src/branch/main/packages/backend/src/services/drive/image-processor.ts

is a constant downscale, and JPEG quality is fixed at 85%, which mangles colors. The max resolution is in every note preview is a maximum of 280px in height. It is an oversight to not allow an operator to specify their thumbnail size. This makes this instance software useless for displaying high detail images. Hardcoded values aren't good in general. Can something be done about this?

My perspective is this: When posting art online as an artist, all 99% people viewing will see is the thumbnail, and if it's a pixelated mess any viewer will keep scrolling. I'd really appreciate an option for thumbnail sizing and compression.

Hello, I noticed that the thumbnail resolution between https://akkoma.dev/FoundKeyGang/FoundKey/src/branch/main/packages/client/src/scripts/upload.ts and https://akkoma.dev/FoundKeyGang/FoundKey/src/branch/main/packages/backend/src/services/drive/image-processor.ts is a constant downscale, and JPEG quality is fixed at 85%, which mangles colors. The max resolution is in every note preview is a maximum of 280px in height. It is an oversight to not allow an operator to specify their thumbnail size. This makes this instance software useless for displaying high detail images. Hardcoded values aren't good in general. Can something be done about this? My perspective is this: When posting art online as an artist, all 99% people viewing will see is the thumbnail, and if it's a pixelated mess any viewer will keep scrolling. I'd really appreciate an option for thumbnail sizing and compression.
Owner

I'm not sure if Foundkey is the right platform for this. Maybe you would want to use pixelfed instead? 🤔

I'm not sure if Foundkey is the right platform for this. Maybe you would want to use pixelfed instead? 🤔
Author

Not the right platform... for a simple config setting that increases usability?

Not the right platform... for a simple config setting that increases usability?
Author

I'm reopening this. I'm asking on behalf of the operator of a node I like to use that uses this software. What is your rationale for opposing to adding trivial config setting?

I'm reopening this. I'm asking on behalf of the operator of a node I like to use that uses this software. What is your rationale for opposing to adding trivial config setting?
Owner

You may use the existing setting:
Client Settings -> General -> Appearance -> Load original images instead of showing thumbnails

If you want a thumbnail resolution setting you can add it yourself if you wish.

You may use the existing setting: Client Settings -> General -> Appearance -> Load original images instead of showing thumbnails If you want a thumbnail resolution setting you can add it yourself if you wish.
Sign in to join this conversation.
No Label
feature
fix
upkeep
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#324
No description provided.