After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 145575 - PNG export graphic too small
PNG export graphic too small
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: exports
0.93
Other Linux
: Normal normal
: 0.98
Assigned To: Dia maintainers
Dia maintainers
: 170552 335695 342006 439318 633512 663597 (view as bug list)
Depends on: 147386 475168 475173
Blocks:
 
 
Reported: 2004-07-07 16:09 UTC by Martin West
Modified: 2011-11-08 21:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example of truncated png output not accounting for width of line (127.30 KB, image/png)
2004-07-08 08:29 UTC, Martin West
Details
simple sample diagram (730 bytes, application/x-compressed-tar)
2006-02-26 15:48 UTC, Hans Breuer
Details

Description Martin West 2004-07-07 16:09:21 UTC
1) create a diagram with a thick arc being the rightmost item on the page, with
the ends of the arc not rightmost. Like a back-to-front C.
2) export as PNG
3) view PNG (i used open office) and observe right part of line cut off.
Comment 1 Lars Clausen 2004-07-07 20:39:14 UTC
Can you try viewing the PNG with some other tool?  Pngs I create that way are
fullsized when viewed in xv.
Comment 2 Martin West 2004-07-08 08:29:13 UTC
Created attachment 29340 [details]
example of truncated png output not accounting for width of line

Hope this example clarifies things. It appears that the PNG renderer find the
furthest point to the right-hand side, and truncates there. However, the
thickness of the line is ignored.
Comment 3 Lars Clausen 2005-03-17 17:46:01 UTC
*** Bug 170552 has been marked as a duplicate of this bug. ***
Comment 4 Hans Breuer 2006-02-26 15:48:20 UTC
Created attachment 60160 [details]
simple sample diagram

there are clearly bounding box issues with arc and bezier connection
Comment 5 Hans Breuer 2006-03-23 17:12:34 UTC
*** Bug 335695 has been marked as a duplicate of this bug. ***
Comment 6 Hans Breuer 2006-05-21 13:07:25 UTC
*** Bug 342006 has been marked as a duplicate of this bug. ***
Comment 7 Hans Breuer 2008-05-11 21:21:59 UTC
*** Bug 439318 has been marked as a duplicate of this bug. ***
Comment 8 Marcus Sundman 2008-05-12 16:02:19 UTC
The cut/clipping isn't only at the right edge. Bug 439318 has attachments where the clipping happens at the top and bottom.
Comment 9 Hans Breuer 2010-10-30 06:13:06 UTC
*** Bug 633512 has been marked as a duplicate of this bug. ***
Comment 10 Hans Breuer 2011-06-13 20:55:44 UTC
I've tested the attachment from comment #4 and https://bugzilla.gnome.org/attachment.cgi?id=110733 again and the issue is gone with current master. There are various fixes in the last two years for bounding box and general png clipping e.g. bug 568115 and bug 147386 - at least for arcs and beziers.
Comment 11 Hans Breuer 2011-11-08 21:33:07 UTC
*** Bug 663597 has been marked as a duplicate of this bug. ***