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

From Akshay Joshi
Subject Re: [pgAdmin][RM7187] ERD Image png 0 bytes
Date
Msg-id CANxoLDfgrS4K3RRrTQeRzcpfCdu3ihcV8XZA0Dcjuabhkzq2eg@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM7187] ERD Image png 0 bytes  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List pgadmin-hackers
Thanks, the patch applied.

On Wed, Apr 6, 2022 at 6:02 PM 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
 

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


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB Postgres
Mobile: +91 976-788-8246

Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Fixed an issue where the downloaded ERD diagram was 0
Next
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin][RM6131] Port query tool to React