def blit_path_representation(self):
        """Blit representation of image in current path."""

        rect = (
            1,
            BUTTON_HEIGHT + 2,
            self.width - 2,
            self.height - ((BUTTON_HEIGHT * 2) + 2),
        )

        thumb_x, thumb_y, thumb_width, thumb_height = rect

        ###

        ### TODO 'use_alpha' should probably be defined
        ### programatically based on the extension and
        ### the presence of alpha or not; ponder; ponder
        ### specially about the check about the presence
        ### of alpha, since it may take too long to
        ### define so in real time;

        thumb_surf = IMAGE_SURFS_DB[self.current_path][
            {
                "use_alpha": True,
                "max_width": thumb_width,
                "max_height": thumb_height,
                "keep_size_ratio": True,
                "checkered_alpha": True,
                "background_width": thumb_width,
                "background_height": thumb_height,
                "background_color": THUMB_BG,
                "retrieve_pos_from": "center",
                "assign_pos_to": "center",
                "offset_pos_by": (0, 0),
                "not_found_width": thumb_width,
                "not_found_height": thumb_height,
            }
        ]

        self.image.blit(thumb_surf, (thumb_x, thumb_y))

        ###
        super().blit_path_representation()
Blit representation of image in current path.
nodezator/widget/pathpreview/image.py