Type to search...

Density

density

The value of the pixel density in dot per inch.

Aliases

  • dn

Parameters

  • 1 or larger integers
  • the default is 150 [dpi]
  • max 1000
  • min 10

Limitations

  • can only be interpreted for PDF, DJVU and SVG media

Dependencies

  • This transformation does not have any dependencies.

Examples

See the following examples about the possible ways of usage.

Setting density value to 10

densitiy: 10 density: 20 density: 30
densitiy: 30 density: 50 density: 100 density: 200
h:300_density:10
use shardimage\shardimagephp\factories\Transformation;
$transformations = (new Transformation())->height(300)->density(10);
Table of contents