# TCanvas::Print PNG outputs fraction of figure when canvas size is declared

**URL:** <https://root-forum.cern.ch/t/tcanvas-print-png-outputs-fraction-of-figure-when-canvas-size-is-declared/26011>\
**Category:** ROOT\
**Tags:** graphics\
**Created:** [August 24, 2017, 8:13pm UTC](https://root-forum.cern.ch/t/tcanvas-print-png-outputs-fraction-of-figure-when-canvas-size-is-declared/26011 "2017-08-24T20:13:21Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [September 19, 2017, 9:38am UTC](https://root-forum.cern.ch/t/tcanvas-print-png-outputs-fraction-of-figure-when-canvas-size-is-declared/26011/30 "2017-09-19T09:38:35Z")

</div>

> [@Wile\_E\_Coyote](#):
>
> Try to run “identify”

Hi @Wile_E_Coyote, I am trying to first solve the @ksmith issue: which is the truncated output for the png and gif files. None of the ROOT versions I am suing produce such truncated output after the fix I did. I do not understand why he gets this truncation with the small macro example I posted. Then I will look at your suggestion in [this post](https://root-forum.cern.ch/t/tcanvas-setwindowsize-extension-proposal/26226/1) . If you think there is an other issue wihen running “identify” it might better to make an other post or a Jira report. Right now I am debugging an other issue not related to this topic.

---

_[View the full topic](https://root-forum.cern.ch/t/tcanvas-print-png-outputs-fraction-of-figure-when-canvas-size-is-declared/26011)._
