# Saving the sketch to a high quality JPG file

**URL:** <https://discourse.processing.org/t/saving-the-sketch-to-a-high-quality-jpg-file/38846>\
**Category:** Beginners\
**Created:** [September 18, 2022, 9:18pm UTC](https://discourse.processing.org/t/saving-the-sketch-to-a-high-quality-jpg-file/38846 "2022-09-18T21:18:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nik](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@Nik](https://discourse.processing.org/u/Nik)\
**Post date:** [September 18, 2022, 9:18pm UTC](https://discourse.processing.org/t/saving-the-sketch-to-a-high-quality-jpg-file/38846/1 "2022-09-18T21:18:06Z")

</div>

![testcolor](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/9/3/935f49443fbf879cb3a9ad3b403e63f6a9c746bf.jpeg)

Does anyone know how to save processing sketch as a high quality jpg file? When i use save(“\*.jpg”); and even set it to high resolution, the quality for some works is low, the colors of the original work and the saved jpg file differ (see upload image). I can’t use svg since i use loadPixels();

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [September 18, 2022, 9:41pm UTC](https://discourse.processing.org/t/saving-the-sketch-to-a-high-quality-jpg-file/38846/2 "2022-09-18T21:41:19Z")

</div>

try png or tiff instead?

see [Reference / Processing.org](https://processing.org/reference/save_.html)

---

<div class="post-metadata">

**Author:** ![Nik](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@Nik](https://discourse.processing.org/u/Nik)\
**Post date:** [September 19, 2022, 4:01pm UTC](https://discourse.processing.org/t/saving-the-sketch-to-a-high-quality-jpg-file/38846/3 "2022-09-19T16:01:45Z")

</div>

I tried png, it saves correctly. Thanks!
