Skip to content

Commit

Permalink
Try to fix msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Mar 3, 2025
1 parent 6803349 commit 19e70bc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cmake/modules/branding/MagickConvert.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ function(nsis_banner source_file destination_file size)
# Draw the provided image to it
execute_process(COMMAND magick
"${temp_file}"
"${source_file}" -gravity center -geometry -25+1 -composite -colors 256
"${source_file}"
-gravity center
-geometry -25+1
-composite
-colors 256
-depth 8
-colorspace RGB
-define bmp:subtype=BI_RGB
"${destination_file}"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
OUTPUT_QUIET
Expand Down

0 comments on commit 19e70bc

Please sign in to comment.