mczachurski / wallpapper

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

Outputs a "blank" heic file #4

Closed ghost closed 6 years ago

ghost commented 6 years ago

working with many large pngs.. json is fine, but when wallpapper is run it outputs a heic file with zero KB file size.. is there a mix file size?

mczachurski commented 6 years ago

Can you provide more information:

Can you send me the file (or link to file/files) - I will try to reproduce the bug?

alicerunsonfedora commented 6 years ago

I'm getting this same error, too. I have files that are 2560 × 1440 (12 files total, ~2.5 MB each). I have no errors in the console as shown (no debug, though).

screen shot 2018-07-28 at 10 37 11 am

I have a base MacBook Pro 2017 (no Touch Bar). These are the contents of the folder.

screen shot 2018-07-28 at 10 39 21 am

There's one thing I have left to try, though...

alicerunsonfedora commented 6 years ago

After a look in the console, I got this:

screen shot 2018-07-28 at 12 27 48 pm

I guess I'm required to have 16 images?

alicerunsonfedora commented 6 years ago

Just found out you need 16 images. My problem's solved. Do you have 16 images for yours, @KabirKwatraAlt ?

mczachurski commented 6 years ago

Great investigation! I founded error in the source code and I fixed it. Now you can produce HEIC images with different number of images. However, it seems that Apple supports only wallpapers with 16 images (I tried with 24 images and they didn't change).

Please let me know if the fix solves your issues.