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

From Dave Page
Subject Re: [pgAdmin][RM7187] ERD Image png 0 bytes
Date
Msg-id CA+OCxox7x3UvxhfkqTQrTBSCxt5kqSHKNx5COrWW7afvsrNHPQ@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM7187] ERD Image png 0 bytes  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Responses Re: [pgAdmin][RM7187] ERD Image png 0 bytes
List pgadmin-hackers
Hi

On Wed, 6 Apr 2022 at 13:32, Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
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

"The downloaded image has exceeded the maximum size of 32767 x 32767 pixels, and has been cropped to that size."

Can we similarly limit the size of the design canvas? 32767 x 32767 is huge.
 
--
Attachment

pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: [pgAdmin][RM7187] ERD Image png 0 bytes
Next
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin][RM7187] ERD Image png 0 bytes