diff options
author | Pierre Ossman <ossman@cendio.se> | 2020-10-29 14:40:54 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2020-10-29 14:40:54 +0100 |
commit | d8c2e50111f44d0dd00fbaccc93cd7102a173df0 (patch) | |
tree | de40b4200816fb14224b00d66b9eb724d66fa92d /media/CMakeLists.txt | |
parent | a8229e17ebdbd649a789ca6fb283fdafa2f4997d (diff) | |
download | tigervnc-d8c2e50111f44d0dd00fbaccc93cd7102a173df0.tar.gz tigervnc-d8c2e50111f44d0dd00fbaccc93cd7102a173df0.zip |
Generate icons with a depth of 8 bits
Anything else is excessive.
Diffstat (limited to 'media/CMakeLists.txt')
-rw-r--r-- | media/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/media/CMakeLists.txt b/media/CMakeLists.txt index 088c72f5..1daf8be5 100644 --- a/media/CMakeLists.txt +++ b/media/CMakeLists.txt @@ -22,14 +22,14 @@ if(CONVERT_EXECUTABLE) endif() add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_16.png - COMMAND ${CONVERT_EXECUTABLE} -background transparent + COMMAND ${CONVERT_EXECUTABLE} -depth 8 -background transparent ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_16.svg ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_16.png DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_16.svg COMMENT "Generating icons/tigervnc_16.png") add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_22.png - COMMAND ${CONVERT_EXECUTABLE} -density 72 + COMMAND ${CONVERT_EXECUTABLE} -depth 8 -size 22x22 xc:none -gravity center -background transparent ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg -composite ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_22.png @@ -37,7 +37,7 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_22.png COMMENT "Generating icons/tigervnc_22.png") add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_24.png - COMMAND ${CONVERT_EXECUTABLE} -density 72 + COMMAND ${CONVERT_EXECUTABLE} -depth 8 -size 24x24 xc:none -gravity center -background transparent ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg -composite ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_24.png @@ -45,7 +45,7 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_24.png COMMENT "Generating icons/tigervnc_24.png") add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_32.png - COMMAND ${CONVERT_EXECUTABLE} -density 72 + COMMAND ${CONVERT_EXECUTABLE} -depth 8 -size 32x32 xc:none -gravity center -background transparent ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_28.svg -composite ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_32.png @@ -53,7 +53,7 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_32.png COMMENT "Generating icons/tigervnc_32.png") add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_48.png - COMMAND ${CONVERT_EXECUTABLE} -density 72 + COMMAND ${CONVERT_EXECUTABLE} -depth 8 -size 48x48 xc:none -gravity center -background transparent ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_42.svg -composite ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_48.png |