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

From: Dave Page <dpage(at)pgadmin(dot)org>
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-06 12:36:53
Message-ID: CA+OCxox7x3UvxhfkqTQrTBSCxt5kqSHKNx5COrWW7afvsrNHPQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Wed, 6 Apr 2022 at 13:32, 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]
>

"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.

--
Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2022-04-07 04:45:35 Re: [pgAdmin][RM7187] ERD Image png 0 bytes
Previous Message Aditya Toshniwal 2022-04-06 12:31:21 [pgAdmin][RM7187] ERD Image png 0 bytes