diff --git a/jarvis/cogs/image.py b/jarvis/cogs/image.py index b164e78..7328921 100644 --- a/jarvis/cogs/image.py +++ b/jarvis/cogs/image.py @@ -56,7 +56,7 @@ class ImageCog(commands.Cog): await ctx.send("Image already meets target.") return - ratio = size / tgt_size + ratio = tgt_size / size buffer = np.frombuffer(file, dtype=np.uint8) img = cv2.imdecode(buffer, flags=-1)