# PDF export, how to tint() image?

**URL:** <https://discourse.processing.org/t/pdf-export-how-to-tint-image/3246>\
**Category:** Libraries\
**Created:** [September 4, 2018, 11:01am UTC](https://discourse.processing.org/t/pdf-export-how-to-tint-image/3246 "2018-09-04T11:01:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mloiz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mloiz/32/11462_2.png) [@mloiz](https://discourse.processing.org/u/mloiz)\
**Post date:** [September 4, 2018, 11:01am UTC](https://discourse.processing.org/t/pdf-export-how-to-tint-image/3246/1 "2018-09-04T11:01:22Z")

</div>

With the processing.pdf library, is it normal that I cannot `tint()` an image ?

```auto
import processing.pdf.*;
PImage img ;
color orange, yellow, green;

void setup() {
  size(600, 600);
  beginRecord(PDF, "testExport.pdf");
  img = loadImage("../greyLogo1.png");
  imageMode(CENTER);
  orange = color(246, 130, 18); 

  background(150);
  tint(orange);
  image(img, width/2, height/2, 200, 313);

  endRecord();
  exit();
}

```

---

<div class="post-metadata">

**Author:** ![jb4x](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jb4x/32/789_2.png) [@jb4x](https://discourse.processing.org/u/jb4x)\
**Post date:** [September 4, 2018, 1:44pm UTC](https://discourse.processing.org/t/pdf-export-how-to-tint-image/3246/2 "2018-09-04T13:44:31Z")

</div>

Hi mloiz,

It is an old issue but apparently it is not fixed yet:

> <https://github.com/processing/processing/issues/2428>

---

<div class="post-metadata">

**Author:** ![mloiz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mloiz/32/11462_2.png) [@mloiz](https://discourse.processing.org/u/mloiz)\
**Post date:** [September 5, 2018, 12:45pm UTC](https://discourse.processing.org/t/pdf-export-how-to-tint-image/3246/3 "2018-09-05T12:45:46Z")

</div>

thanks jb4x,  
can we do something else than this issue ? update the issue ?

---

<div class="post-metadata">

**Author:** ![jb4x](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jb4x/32/789_2.png) [@jb4x](https://discourse.processing.org/u/jb4x)\
**Post date:** [September 5, 2018, 12:52pm UTC](https://discourse.processing.org/t/pdf-export-how-to-tint-image/3246/4 "2018-09-05T12:52:47Z")

</div>

You can maybe reply to it to bump it up.  
How don’t really know how it works.
