class_docstr: **Bases:** :class:`GraphicsObject <pyqtgraph.GraphicsObject>`
class_docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","GraphicsObject","<","pyqtgraph.GraphicsObject",">","`"]
docstr: Controls automatic downsampling for this ImageItem.
  
  If `active` is `True`, the image is automatically downsampled to match the
  screen resolution. This improves performance for large images and
  reduces aliasing. If `autoDownsample` is not specified, then ImageItem will
  choose whether to downsample the image based on its size.
  
  `False` disables automatic downsampling.
docstr_tok: ["Controls","automatic","downsampling","for","this","ImageItem",".","If","`","active","`","is","`","True","`",",","the","image","is","automatically","downsampled","to","match","the","screen","resolution",".","This","improves","performance","for","large","images","and","reduces","aliasing",".","If","`","autoDownsample","`","is","not","specified",",","then","ImageItem","will","choose","whether","to","downsample","the","image","based","on","its","size",".","`","False","`","disables","automatic","downsampling","."]
code: def setAutoDownsample(self, active=True):
      """
      Controls automatic downsampling for this ImageItem.
  
      If `active` is `True`, the image is automatically downsampled to match the
      screen resolution. This improves performance for large images and
      reduces aliasing. If `autoDownsample` is not specified, then ImageItem will
      choose whether to downsample the image based on its size.
  
      `False` disables automatic downsampling.
      """
      self.autoDownsample = active
      self._renderRequired = True
      self.update()
  
imports: import warnings
  from collections.abc import Callable
  import numpy
  from ..None import colormap
  from ..None import debug
  from ..None import functions
  from ..None import getConfigOption
  from ..Point import Point
  from ..Qt import QtCore, QtGui, QtWidgets
  from ..util.cupy_helper import getCupy
  from .GraphicsObject import GraphicsObject
label_desc: Use image node_id 14 for calling the ImageItem obj's underlying member method code with example usage: obj.setAutoDownsample(active) without return types