# SVG Export Issue transform="scale(2,2)"

**URL:** <https://discourse.processing.org/t/svg-export-issue-transform-scale-2-2/46350>\
**Category:** Coding Questions\
**Created:** [May 8, 2025, 4:25pm UTC](https://discourse.processing.org/t/svg-export-issue-transform-scale-2-2/46350 "2025-05-08T16:25:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![stefterv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stefterv/32/21678_2.png) [@stefterv](https://discourse.processing.org/u/stefterv)\
**Post date:** [May 8, 2025, 5:35pm UTC](https://discourse.processing.org/t/svg-export-issue-transform-scale-2-2/46350/4 "2025-05-08T17:35:17Z")

</div>

Here is the issue labelling why that this is broken [pixelDensity(2) with SVG creates incorrect viewport in the file · Issue #693 · processing/processing4 · GitHub](https://github.com/processing/processing4/issues/693) I’ve added some more labels to hopefully move this forward.

### Current workaround

`pixelDensity(1)` in the `setup()` function to force Processing to render at low-dpi scaling.

---

_[View the full topic](https://discourse.processing.org/t/svg-export-issue-transform-scale-2-2/46350)._
