Skip to content

Empty cache file #184

@Laurens256

Description

@Laurens256

I am running matugen with caching enabled in the config to generate a palette based on an image. Running matugen in verbose mode shows the cache file gets written successfully (Saved cache of <file> to <path>.json). Upon checking the cached file, I see that none of the extracted colors are stored there. Here is the command I'm running:

matugen -c <path_to_config> image <path_to_img>.png -v

Below is the full generated cache file

{
  "image": "<imagePath>.png",
  "is_dark_mode": true,
  "mode": "Dark"
}

Maybe I am misunderstanding how caching should work, as I couldnt find much documentation on it, but shouldn't the extracted colors be saved in this file so they can be reused when the command is called for the same image? I am not seeing any difference in performance with caching enabled vs disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions