Skip to content

Build/Windows: Update the Windows icon as svg and build derivatives from it #14964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions win32/build/mkico.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off
magick php.svg -size 512x512 php.bmp

for %%i in (16,24,32,48,64,128,256) do magick php.bmp -scale %%ix%%i php-ico-%%i.png

magick -adjoin php-ico-* php.ico

del /f /q php-ico-*.png php.bmp
12 changes: 12 additions & 0 deletions win32/build/mkico.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

convert php.svg -size 512x512 php.bmp

for I in 16 24 32 48 64 128 256;
do
convert php.bmp -scale ${I}x${I} php-ico-${I}.png;
done

convert -adjoin php-ico-* php.ico

rm -f php-ico-*.png php.bmp
24 changes: 24 additions & 0 deletions win32/build/php-classic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified win32/build/php.ico
Binary file not shown.
16 changes: 16 additions & 0 deletions win32/build/php.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading