Giter Club home page Giter Club logo

Comments (9)

RandomLegend avatar RandomLegend commented on June 1, 2024

Alright i guess i found the issue?

in ~/.local/share/cartridges/covers i found that the .gif files downloaded from steamgriddb had those artifacts in them. When opening steamgriddb and finding the exact same cover, downloading it (which it gave me as .webm), converting to .gif then made it so the animations are played properly.

So i guess it downloads some weird version from steamgriddb? Or if any conversion is happening, it appears to be at a too low quality

from cartridges.

kra-mo avatar kra-mo commented on June 1, 2024

gifs are pretty limited in quality by default. What tool did you use to convert gifs that made them look fine?

from cartridges.

RandomLegend avatar RandomLegend commented on June 1, 2024

i grabbed the .webm file instead of the .png file from steamgriddb and then simply used ffmpeg -i cover.webm cover.gif

from cartridges.

kra-mo avatar kra-mo commented on June 1, 2024

The SteamGridDB API seems to only point to images. Could you send me a link to a .webm file?

from cartridges.

RandomLegend avatar RandomLegend commented on June 1, 2024

tbh i don't really know any link that points to .webm files.

I use brave browser and the mediaplayer in it can download a media with a little menu. I don't really know where you could get them via API.

But i just found out that i can also just ffmpeg -i cover.png cover.gif and get the high-quality gif aswell.

So i guess all that would be enough is to grab the animated .png file and run ffmpeg on it.

from cartridges.

kra-mo avatar kra-mo commented on June 1, 2024

Converting animated PNGs, WebPs or WebMs still leaves me with gifs of the same quality. Are you sure the improvement in quality is not just perceived given that the original file is probably higher resolution than the one in Cartridges?

from cartridges.

kra-mo avatar kra-mo commented on June 1, 2024

This is also probably simply the case because gifs are limited to a 256 color palette.

from cartridges.

kra-mo avatar kra-mo commented on June 1, 2024

Also, the covers in the screencast you shared do actually seem to glitch. This does not happen on my side. Is this just a bug with the screencast or do they actually do that?

If so, this is probably due to some dependency issue. Could you try using the version from Flathub?

from cartridges.

RandomLegend avatar RandomLegend commented on June 1, 2024

I just wanted to take a new video to show that it's not just perceived. Also the screencast showed it true to nature how it was.

I now deleted every cover, cleared the cache and reimported all the games / covers to show you how they look when they come from import...

and of course now it works perfectly fine....No issue at all. I didn't update anything since yesterday lol. And i did reimport them multiple times yesterday when trying stuff out. So the process of reimporting the covers was not the solution by itself but i assume some process was broken yesterday and a reboot fixed it... idk

Thanks anyhow! :D

from cartridges.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.