Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Broken extracted frames likely from dump_png, likely due to color space tagging #84

Open
brian6932 opened this issue Dec 8, 2022 · 1 comment

Comments

@brian6932
Copy link

brian6932 commented Dec 8, 2022

The #bugs-and-stuff channel on Discord has has been archived, so I'm converting some issues to GitHub ones

To circumvent GitHub image processing, all files are href-ed to their original versions, there is no way to bypass GitHub image cache unfortunately

The issue does not seem to occur with files encoded as webp

Upload: https://7tv.app/emotes/638ef040b8a5da5f6fb69c7e

source file
webp encoded
avif encoded
png encoded

Same emote uploaded as webp (converted with cwebp): https://7tv.app/emotes/638f03689cb1d139f49aba0e

source file (converted to webp)

Upload: https://7tv.app/emotes/6391493c15aa81ee27cfb7d8
Small context: Uploaded as avif, because when png is uploaded, the file is immediately removed (with This emote is no longer available).
Back when I first uploaded it, I remember the same issue occuring with png.

source file
webp encoded
avif encoded
png encoded

Same emote uploaded as webp (converted with cwebp): https://7tv.app/emotes/638f04488d6a5b789c785d55

source file (converted to webp)

Upload: https://7tv.app/emotes/6351eb1404c60cee7a31d672

source file
@brian6932 brian6932 changed the title Broken extracted frames from from dump_png Broken extracted frames likely from dump_png Dec 8, 2022
@brian6932
Copy link
Author

brian6932 commented Apr 19, 2023

I have looked a bit further into this, and it seems to be due to images tagged with color spaces or just being 16 bit, the majority of these (not all), were taken in mpv, with screenshot-tag-colorspace set to yes.

@brian6932 brian6932 changed the title Broken extracted frames likely from dump_png Broken extracted frames likely from dump_png, likely due to color space tagging Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant