[pgAdmin][RM7187] ERD Image png 0 bytes

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM7187] ERD Image png 0 bytes
Date: 2022-04-06 12:31:21
Message-ID: CAM9w-_ku2EQJ3zcPBSJZUObkHdOPgM=JZuVWXT=64c-S6iZfTQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Due to the limitations of HTML Canvas, if the image exceeds max
width/height of 32767 then the image becomes empty.
To fix this, I have set the max limit of width and height to 32767. The ERD
diagram will be cut if it exceeds the limit. The ERD tool will also throw
an alert to inform the user in that case.
Please review.

[image: image.png]

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

Attachment Content-Type Size
RM7187.patch application/octet-stream 1.6 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2022-04-06 12:36:53 Re: [pgAdmin][RM7187] ERD Image png 0 bytes
Previous Message Akshay Joshi 2022-04-06 09:32:03 pgAdmin 4 commit: Changed the timestamp server to sign the Windows inst