class final readonly Optionnel · pdftoolkit/pdf-reader 0.8.1
PDF\Reading\ImageCodecs\DecodedImageImmutable component planes and their intrinsic geometry.Héritage et contrats
Ce type ne déclare pas de parent, d’interface ou de trait.
Construction
__construct()
public function __construct(int $width, int $height, array $components, PDF\Reading\ImageCodecs\ColorInformation $color = new ColorInformation(), int $originX = 0, int $originY = 0, string $backend = 'application', array $channelDefinitions = [], array $chromaKey = [])@param non-empty-list<ComponentPlane> $components
@param list<ChannelDefinition> $channelDefinitions
@param list<int> $chromaKey JPX opacity metadata; ignored by PDF image composition.Méthodes déclarées
byteLength()
public function byteLength(): intretainedBytes()
public function retainedBytes(): intConservative retained-byte accounting includes copied colour metadata.streamBytes()
public function streamBytes(int $maximum, PDF\Reading\ImageCodecs\ImageLimits $limits): stringInterleave only a representation that does not discard plane metadata.Propriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly string $backend | PDF\Reading\ImageCodecs\DecodedImage |
public readonly array $channelDefinitions | PDF\Reading\ImageCodecs\DecodedImage |
public readonly array $chromaKey | PDF\Reading\ImageCodecs\DecodedImage |
public readonly PDF\Reading\ImageCodecs\ColorInformation $color | PDF\Reading\ImageCodecs\DecodedImage |
public readonly array $components | PDF\Reading\ImageCodecs\DecodedImage |
public readonly int $height | PDF\Reading\ImageCodecs\DecodedImage |
public readonly int $originX | PDF\Reading\ImageCodecs\DecodedImage |
public readonly int $originY | PDF\Reading\ImageCodecs\DecodedImage |
public readonly int $width | PDF\Reading\ImageCodecs\DecodedImage |