mczachurski / wallpapper

:computer: Console application for creating dynamic wallpapers for macOS Mojave and newer
MIT License
3.32k stars 137 forks source link

Unexpected error while finalizing image #49

Closed hpohlmeyer closed 3 years ago

hpohlmeyer commented 3 years ago

I am trying to create a light/dark wallpaper with two solid colors. Both of my images are 1px × 1px, but during the image creating, I am getting the following error:

Reading JSON file: 'file:///Users/henno/Desktop/wallpapper.json'...OK.
Decoding JSON file...OK (2 pictures).
Reading image file: 'file:///Users/henno/Desktop/dark.png'...OK.
Adding image and metadata...OK.
Reading image file: 'file:///Users/henno/Desktop/light.png'...OK.
Adding image...OK.
Finalizing image container...Error: Unexpected error occurs: Image has not be finilized.

The console output for wallpapper looks like this:

grafik

Here are the png and json files: solid-color-wallpaper.zip

Versions:

hpohlmeyer commented 3 years ago

I have tried the same thing with two 5120×2880 pngs. That worked as expected. Is there any minimum image size constraint?

mczachurski commented 3 years ago

Hi, I don't know. Unfortunately Apple didn't provide any information about that macOS feature.