diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1326bad..5a8b4b8 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -41,8 +41,8 @@ - - + + @@ -493,8 +493,8 @@ - - + + diff --git a/lib/graphiclib.py b/lib/graphiclib.py index 0882056..54cfbc2 100644 --- a/lib/graphiclib.py +++ b/lib/graphiclib.py @@ -84,6 +84,6 @@ class PiCamera(pygame.sprite.Sprite): def update(self, *args): print('updating camera') self.output.truncate(0) - self.camera.capture(self.output, 'rgb') + self.camera.capture(self.output, 'rgb', resize=self.size) s = pygame.transform.rotate(pygame.surfarray.make_surface(self.output.array), 90) self.image.blit(s, (0, 0)) \ No newline at end of file