# Documentation » Deprecated elements

Menu

## Deprecated

### Table of Contents

src/Data/QRMatrix.php
src/Output/QRImage.php
src/QRCode.php
src/QROptionsTrait.php

### QRMatrix.php

Line | Element | Reason
--- | --- | ---
268 | QRMatrix::size() | use QRMatrix::getSize() instead

### QRImage.php

Line | Element | Reason
--- | --- | ---
17 | QRImage | backward compatibility, use QRGdImage instead

### QRCode.php

Line | Element | Reason
--- | --- | ---
285 | QRCode::getMatrix() | use QRCode::getQRMatrix() instead
319 | QRCode::isNumber() | use Number::validateString() instead
330 | QRCode::isAlphaNum() | use AlphaNum::validateString() instead
341 | QRCode::isKanji() | use Kanji::validateString() instead
352 | QRCode::isByte() | use Byte::validateString() instead
40 | QRCode::VERSION_AUTO | use Version::AUTO instead
47 | QRCode::MASK_PATTERN_AUTO | use MaskPattern::AUTO instead
54 | QRCode::ECC_L | use EccLevel::L instead
61 | QRCode::ECC_M | use EccLevel::M instead
68 | QRCode::ECC_Q | use EccLevel::Q instead
75 | QRCode::ECC_H | use EccLevel::H instead
82 | QRCode::OUTPUT_MARKUP_HTML | use QROutputInterface::MARKUP_HTML instead
89 | QRCode::OUTPUT_MARKUP_SVG | use QROutputInterface::MARKUP_SVG instead
96 | QRCode::OUTPUT_IMAGE_PNG | use QROutputInterface::GDIMAGE_PNG instead
103 | QRCode::OUTPUT_IMAGE_JPG | use QROutputInterface::GDIMAGE_JPG instead
110 | QRCode::OUTPUT_IMAGE_GIF | use QROutputInterface::GDIMAGE_GIF instead
117 | QRCode::OUTPUT_STRING_JSON | use QROutputInterface::STRING_JSON instead
124 | QRCode::OUTPUT_STRING_TEXT | use QROutputInterface::STRING_TEXT instead
131 | QRCode::OUTPUT_IMAGICK | use QROutputInterface::IMAGICK instead
138 | QRCode::OUTPUT_FPDF | use QROutputInterface::FPDF instead
145 | QRCode::OUTPUT_EPS | use QROutputInterface::EPS instead
152 | QRCode::OUTPUT_CUSTOM | use QROutputInterface::CUSTOM instead
159 | QRCode::OUTPUT_MODES | use QROutputInterface::MODES instead

### QROptionsTrait.php

Line | Element | Reason
--- | --- | ---
610 | QROptionsTrait::set_imageBase64() | use QROptions::$outputBase64 instead
621 | QROptionsTrait::get_imageBase64() | use QROptions::$outputBase64 instead
636 | QROptionsTrait::set_jpegQuality() | use QROptions::$quality instead
645 | QROptionsTrait::get_jpegQuality() | use QROptions::$quality instead
660 | QROptionsTrait::set_pngCompression() | use QROptions::$quality instead
669 | QROptionsTrait::get_pngCompression() | use QROptions::$quality instead
684 | QROptionsTrait::set_imageTransparencyBG() | use QROptions::$transparencyColor instead
693 | QROptionsTrait::get_imageTransparencyBG() | use QROptions::$transparencyColor instead
708 | QROptionsTrait::set_imagickBG() | use QROptions::$bgColor instead
717 | QROptionsTrait::get_imagickBG() | use QROptions::$bgColor instead
414 | QROptionsTrait::$svgViewBoxSize | use QRMarkupSVG::getViewBox() instead
601 | QROptionsTrait::$imageBase64 | use QROptions::$outputBase64 instead
629 | QROptionsTrait::$jpegQuality | use QROptions::$quality instead
653 | QROptionsTrait::$pngCompression | use QROptions::$quality instead
677 | QROptionsTrait::$imageTransparencyBG | use QROptions::$transparencyColor instead
701 | QROptionsTrait::$imagickBG | use QROptions::$bgColor instead

## Search results