Ceci est une ancienne révision du document !
Create your As Code slides
Slide generator is a generator that lets you create visual graphics to enhance your posts on social networks. Thanks to predefined profiles, you can quickly create visuals that are consistent with the same graphic charter.
Example of use
In this example, we use the profile user_post which generates a slide with a blue background to which we add an avatar :
./generate_slide.sh --profile user_post \
--set TEXT2="DEVOPS" \
--set TEXT3="BRUNO ADELÉ" \
--set TEXT4="SLIDE GENERATOR" \
--set TEXT5="Generate clean, impactful slides" \
--set TEXT6="for your social media posts in seconds" \
--set IMG99="https://raw.githubusercontent.com/badele/slide-generator/refs/heads/main/bruno_avatar_128.png"
Here we use the profile bottom_right_title_square profile which generates a slide with a dual-tones image:
./generate_slide.sh --profile bottom_right_title_square \
--set IMG1="https://raw.githubusercontent.com/badele/vide/main/doc/img/plug_dashboard.png" --set IMG1_EFFECTS_AFTER="-colorspace Gray -dither FloydSteinberg -colors 32 +level-colors '#004466,#4cff88' -resize 1200x675" \
--set COMMAND2="-fill '#00ff55' -draw 'rectangle 885,571 900,675'" \
--set TEXT4="Le" \
--set TEXT4_FG="#000000" \
--set TEXT5="Garage" \
--set TEXT5_FG="#000000" \
--set TEXT6="VIM" \
--set TEXT6_FG="#FFD300" \
--set TEXT6_FONT_SIZE=128 \
--set TEXT6_GEOMETRY="+40+200" \
--set TEXT7="Try it, you\'ll love it\!" \
--set TEXT7_FG="#FFFFFF" \
--set TEXT7_FONT_SIZE=64 \
--set TEXT7_GEOMETRY="+40+330
To see other examples, c’est click here
Sources
-
- Claude
- Sentence reformulation
- Spelling correction


