this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bug: fix magick being old and using convert on rpi

+2 -2
+2 -2
src/camera_server.py
··· 289 289 logger.info("Photo taken successfully") 290 290 291 291 # Rotate the image using ImageMagick 292 - os.system(f"magick {filepath} -rotate {Config.ROTATION} {filepath}") 292 + os.system(f"convert {filepath} -rotate {Config.ROTATION} {filepath}") 293 293 logger.info("Photo rotated successfully") 294 294 295 295 # Create dithered version using ImageMagick 296 - os.system(f"magick {filepath} -dither FloydSteinberg -define dither:diffusion-amount=100% -remap eink-4gray.png {dithered_filepath}") 296 + os.system(f"convert {filepath} -dither FloydSteinberg -define dither:diffusion-amount=100% -remap eink-4gray.png {dithered_filepath}") 297 297 logger.info("Dithered version created successfully") 298 298 299 299 # Notify websocket clients about both photos