Gets the Image Compression quality on a 1-100% scale.

Return Return

(int) Compression Quality. Range: [1,100]

Top ↑

Source Source

File: wp-includes/class-wp-image-editor.php

	public function get_quality() {
		if ( ! $this->quality ) {

		return $this->quality;

Top ↑

Changelog Changelog

Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.