Skip to content

Instantly share code, notes, and snippets.

View DatanoiseTV's full-sized avatar
✌️

Sylwester DatanoiseTV

✌️
View GitHub Profile
Index: gphoto2/actions.c
===================================================================
--- gphoto2/actions.c (Revision 15181)
+++ gphoto2/actions.c (Arbeitskopie)
@@ -1089,20 +1089,23 @@
wp.type = WAIT_FRAMES;
wp.u.frames = x;
printf ( _("Waiting for %d frames from the camera. Press Ctrl-C to abort.\n"), x);
- }
+ } else
import ImageFont, ImageDraw, Image
fontSize = 32
fontWidth = 20
numFonts = 3
image = Image.new( 'RGB', (fontWidth*127,fontSize*numFonts), "black")
draw = ImageDraw.Draw(image)
font = ImageFont.truetype("whitrabt.ttf", fontSize)
font2 = ImageFont.truetype("saxmono.ttf", fontSize)