Re: [pgAdmin][RM7187] ERD Image png 0 bytes

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin][RM7187] ERD Image png 0 bytes
Date: 2022-04-07 09:50:16
Message-ID: CANxoLDfgrS4K3RRrTQeRzcpfCdu3ihcV8XZA0Dcjuabhkzq2eg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, the patch applied.

On Wed, Apr 6, 2022 at 6:02 PM Aditya Toshniwal <
aditya(dot)toshniwal(at)enterprisedb(dot)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: image.png]
>
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Software Architect | *edbpostgres.com*
> <http://edbpostgres.com>
> "Don't Complain about Heat, Plant a TREE"
>

--
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2022-04-07 10:07:03 Re: [pgAdmin][RM6131] Port query tool to React
Previous Message Akshay Joshi 2022-04-07 09:50:01 pgAdmin 4 commit: Fixed an issue where the downloaded ERD diagram was 0