Skip to content

Commit 53f5f23

Browse files
committed
bitmaptools.blit fix
1 parent 44a84c5 commit 53f5f23

File tree

1 file changed

+1
-1
lines changed
  • CircuitPython_ESP32_Camera/esp32-kaluga-onionskin-gif

1 file changed

+1
-1
lines changed

CircuitPython_ESP32_Camera/esp32-kaluga-onionskin-gif/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def take_stop_motion_gif(n_frames=10, replay_frame_time=.3):
193193
writer.add_frame(frame, replay_frame_time)
194194
for i in range(1, n_frames):
195195
print(f"{i}/{n_frames}")
196-
old_frame.blit(0, 0, frame, x1=0, y1=0, x2=cam.width, y2=cam.height)
196+
bitmaptools.blit(old_frame, frame, 0, 0, x1=0, y1=0, x2=cam.width, y2=cam.height)
197197
frame = wait_record_pressed_update_display(False, cam)
198198
writer.add_frame(frame, replay_frame_time)
199199
print("done")

0 commit comments

Comments
 (0)