def METHOD_NAME(self, label: LabelTemplate, request=None, **kwargs):
    """Render this label to PNG format"""
    # Check if pdf data is provided
    pdf_data = kwargs.get('pdf_data', None)
    if not pdf_data:
        pdf_data = self.render_to_pdf(label, request, **kwargs).get_document().write_pdf()
    dpi = kwargs.get(
        'dpi',
        InvenTreeSetting.get_setting('LABEL_DPI', 300)
    )
    # Convert to png data
    png = pdf2image.convert_from_bytes(pdf_data, dpi=dpi)[0]
    return png