title: php imagejpeg() function allways set quality of 96 dpi
body: <p>after uploading an image I place it in a folder using <code>imagejpeg()</code><br />
  <a href="https://www.php.net/manual/en/function.imagejpeg.php" rel="nofollow noreferrer">documentation</a> says that this function resamples the image to a given quality, depending on third param in the function:</p>
  <pre><code>imagejpeg($newimg, $path, 80);
  </code></pre>
  <p>problem - whatever value I set as quality (50 - 70 - 99 ...) the resulting image is always <code>96 dpi</code></p>
  <p>so how to get an image having <code>72 dpi</code> ?</p>