Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

nitatemic/PhotoMagasin

Repository files navigation

PhotoMagasin

Introduction

PhotoMagasin is a school project, it should not be used daily unless you love the loading icons (Because the program is long, very long...)

Code Samples

def lien(): # Fonction pour changer la photo
    global largeur
    global hauteur
    global imgSource
    Lien = filedialog.askopenfilename(initialdir = "/",title = "Select file",filetypes = (("Fichier PNG","*.png"),))
    imgSource = Image.open(Lien)    # On ouvre l'image 
    largeur, hauteur = imgSource.size

The variables and comments are in French. I may translate them into English if I have the time

Installation

The program was made under Python 3.8, it works under Python 3.9.4

The program use :

Tkinter

PIL (Pillow)

If you ever run it under Python 2.7, tell me if it works

Programme made by me and Matthieu Azzoun Minet