| Server IP : 217.160.0.135 / Your IP : 216.73.216.115 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/PIL/__pycache__/ |
Upload File : |
�
�"�cM � �H � d dl Z d dlZd dlZd dlZd dlZddlmZ dd�Zd� ZdS )� N� )�ImageFc
� � |��>t j dk r�t j d� � \ }}t j |� � dg}| r| \ }}} }
|d|� d|� d| |z
� d|
|z
� �gz
}t
j |d|gz � � t j |� � }|�
� � t j |� � | r3|� | |z
|
|z
f� � }|� � � |S |S t j dk r�t j
� ||� � \ }
}}t j d||d d
|d dz dz d
z d� � }| r1|
\ }}| \ }}} }
|� ||z
||z
| |z
|
|z
f� � }|S t# j d� � r�t j d� � \ }}t j |� � t
j dd|g� � t j |� � }|�
� � t j |� � | r+|� | � � }|� � � |S |S t j
j sd}t) |� � �t j
� |� � \ }}t j d||d d|d dz d� � }| r|� | � � }|S )N�darwinz.png�
screencapturez-R�,z-x�win32�RGB�raw�BGRr � ������zgnome-screenshotz-fz$Pillow was built without XCB support�BGRX� r )�sys�platform�tempfile�mkstemp�os�close�
subprocess�callr �open�load�unlink�resize�core�grabscreen_win32� frombytes�crop�shutil�which�HAVE_XCB�OSError�grabscreen_x11)�bbox�include_layered_windows�all_screens�xdisplay�fh�filepath�args�left�top�right�bottom�im�
im_resized�offset�size�data�x0�y0�
im_cropped�msgs �//usr/lib/python3/dist-packages/PIL/ImageGrab.py�grabr<