Re: [hatari-devel] big icon file for macOS ? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Hatari devel list <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] big icon file for macOS ?
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Sat, 30 Mar 2024 14:12:20 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1711804353; bh=mCr9nFQNW9wIOcZZZWtsBSV15oebznWgwEbGqV8QdpA=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=zZeDKQxvnpiJTeHGqfykDLpH/nk5mcTw5IUWvG1X6XyyL/5DQU6E/e4EuT6SZKt+z w27LTVsLbeRQK7MJPI1jgaZPY8I8bZQttitMkAA5VbKkXdvdpV5GSIGNtWTixa6JZj ePIy78vsiXi/yvO2R93zpq2q+9Qb4NszVaLgzfrlkv3SsXpcF/sfihknT0tr+hXHtv vkb2LUuQaNBYZzmq/jd9qxKhKa8Ix0+3cN8e3sH5eqVPA9tolQqndrWjizcZNgzsjr K5xck9F4MxhuHdWHkYlSPf4zs2TjPtNTYJ+GvMxrDWbcw60jX0BPV71FaqFM+bwilW JiP4JaF51fVzQ==
> Am 30.03.2024 um 13:40 schrieb Thomas Huth <th.huth@xxxxxxxxx>:
>
> Am Sat, 30 Mar 2024 10:46:57 +0000
> schrieb Thomas Huth <th.huth@xxxxxxxxx>:
>
>> Am Sat, 30 Mar 2024 09:16:52 +0100
>> schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
>>
>>> Le 30/03/2024 à 08:06, Thomas Huth a écrit :
>>>> Am Fri, 29 Mar 2024 11:30:22 -0400
>>>> schrieb Brad Smith <rainwarrior@xxxxxxxxx>:
>>>>
>>>>> Mac standards do require a 1024x1024 icon these days.
>>>>>
>>>>> If you used nearest neighbour upscaling instead of the interpolated large
>>>>> images, they would probably compress a lot smaller, though.
>>>>
>>>> That sounds like a good idea ... I had a quick try with the "png2icns" tool
>>>> and converted the pngs from our "share" folder into the icns format, and
>>>> that results in a .icns file with the size of 721658 bytes. Still quite a
>>>> bit, but way better than the current one. Shall I go ahead and push that
>>>> file to the repository?
>>>
>>> Hi
>>>
>>> I think you can push it, as long as all the size are still the same, it
>>> shouldn't break anything.
>>
>> Reading through some information like this:
>>
>> https://stackoverflow.com/questions/12306223/how-to-manually-create-icns-files-using-iconutil
>>
>> ... it seems like we even might be able to create the .icns on the fly
>> during the build process... I'll give it a try...
>
> OK, I've pushed a patch now to create the icns file dynamically. It seems
> to work fine in the CI, but it would be great if one of the macOS users
> could check whether the build also still works fine with a manual Xcode now.
>
> Thomas
>
>
Seems to work for me (built from command line on latest macOS). Just out of curiosity: What is the benefit from dynamically creating the .icns file instead of just adding it to the repository? The file is only 1 MB in size.