From 8921170435d9c3ecc67b305e458340e292c99900 Mon Sep 17 00:00:00 2001
From: ave <ave@ave.zone>
Date: Fri, 25 Aug 2023 18:51:53 +0200
Subject: [PATCH] docs: document the formats currently supported by ctx.image

---
 python_payload/mypystubs/ctx.pyi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python_payload/mypystubs/ctx.pyi b/python_payload/mypystubs/ctx.pyi
index 3eb6596250..cc676a299f 100644
--- a/python_payload/mypystubs/ctx.pyi
+++ b/python_payload/mypystubs/ctx.pyi
@@ -319,7 +319,7 @@ class Context(Protocol):
         Draw the image at path a in a rectangle with upper left coordinates at
         x,y which is w wide and h high. If w or h is -1 the other is set
         maintaining aspect ratio, if both are -1 the pixel dimensions of the
-        image is used.
+        image is used. Supports PNG and JPEG files.
         """
         pass
     def logo(self, x: float, y: float, dim: float) -> "Context":
-- 
GitLab