Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jules-robin
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
isn-malraux-mini-projet
jules-robin
Commits
43ef561e
Commit
43ef561e
authored
Nov 29, 2017
by
Maître Véreux (Jules Barron)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout de la fonction ouvrir image.
parent
3f567b56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
programme.py
programme.py
+18
-1
No files found.
programme.py
View file @
43ef561e
from
PIL
import
Image
image
=
''
menuPrincipal
()
menuPrincipal
()
ouvrirImage
()
def
ouvrirImage
():
"""Fonction qui ouvre l'image demandée par l'utilisateur
Usage:
>>>Donner le chemin d'accès au fichier :
Image.jpg
ouvre l'image
Conditions initiales : Aucune
Argument: aucun
Sortie: aucun
"""
global
image
img_chemin
=
str
(
input
(
"Chemin d'accès relatif ou absolu au fichier :"
))
image
=
Image
.
open
(
img_chemin
)
image
.
show
()
afficherInfoImage
()
afficherInfoImage
()
afficherImage
()
afficherImage
()
negatifCouleur
()
negatifCouleur
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment