[pgAdmin][RM7187] ERD Image png 0 bytes - Mailing list pgadmin-hackers

From Aditya Toshniwal
Subject [pgAdmin][RM7187] ERD Image png 0 bytes
Date
Msg-id CAM9w-_ku2EQJ3zcPBSJZUObkHdOPgM=JZuVWXT=64c-S6iZfTQ@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][RM7187] ERD Image png 0 bytes  (Dave Page <dpage@pgadmin.org>)
Re: [pgAdmin][RM7187] ERD Image png 0 bytes  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List 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.png
 

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Changed the timestamp server to sign the Windows inst
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin][RM7187] ERD Image png 0 bytes