Skip to content

Commit

Permalink
pdf-to-png: Use black background
Browse files Browse the repository at this point in the history
I have no idea why this helps with grey background, but here we are.
  • Loading branch information
cdown committed Sep 11, 2023
1 parent 4caa010 commit d4cefc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pdf-to-png
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
pdf=${1?missing pdf}
out_dir=${2?missing out_dir}

convert -density 800 -background white -alpha remove -alpha off "$pdf" -resize "${PTP_SIZE:-1920x1080}" "$out_dir"/out-%02d.png
convert -density 800 -background black -alpha remove -alpha off "$pdf" -resize "${PTP_SIZE:-1920x1080}" "$out_dir"/out-%02d.png

# Now, Insert -> Media -> Photo Album

0 comments on commit d4cefc8

Please sign in to comment.