file in jar
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 148 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 9.6 KiB |
@ -1,31 +0,0 @@
|
|||||||
Informatique :
|
|
||||||
|
|
||||||
Mudry Pierre-André <--
|
|
||||||
|
|
||||||
Mathématique :
|
|
||||||
|
|
||||||
Epiney Jacques
|
|
||||||
Evéquoz Gilles
|
|
||||||
Nicollier Grégoire <--
|
|
||||||
Savioz Christian
|
|
||||||
|
|
||||||
Physique :
|
|
||||||
Ellert Christoph <--
|
|
||||||
|
|
||||||
Electricité :
|
|
||||||
Bianchi Christophe <--
|
|
||||||
Davide Pavanello
|
|
||||||
|
|
||||||
|
|
||||||
Mécanique :
|
|
||||||
Samuel Rey-Mermet
|
|
||||||
Paciotti Gabriel <--
|
|
||||||
Haifa Sallem
|
|
||||||
Wittmann Christian
|
|
||||||
Bezençon Cyrille
|
|
||||||
Rapillard Laurent
|
|
||||||
|
|
||||||
|
|
||||||
Langue :
|
|
||||||
Gloeckner Caroline <--
|
|
||||||
Laffargue-Rieder Laurence
|
|
Before Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 6.4 KiB |
@ -1,26 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
from PIL import Image
|
|
||||||
import numpy as np
|
|
||||||
import os
|
|
||||||
|
|
||||||
W, H = 32, 32
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
path = input("Path: ")
|
|
||||||
|
|
||||||
img = Image.open(path).convert()
|
|
||||||
a = np.array(img)
|
|
||||||
b = np.zeros((a.shape[1], a.shape[0], *a.shape[2:]), dtype=a.dtype)
|
|
||||||
|
|
||||||
w, h = a.shape[1]//W, a.shape[0]//H
|
|
||||||
|
|
||||||
for y in range(h):
|
|
||||||
for x in range(w):
|
|
||||||
b[x*W:x*W+W,y*H:y*H+H] = a[y*H:y*H+H,x*W:x*W+W]
|
|
||||||
|
|
||||||
img.close()
|
|
||||||
img = Image.fromarray(b)
|
|
||||||
dirname, basename = os.path.dirname(path), os.path.basename(path)
|
|
||||||
basename, ext = os.path.splitext(basename)
|
|
||||||
img.save(os.path.join(dirname, basename+"_flipped"+ext))
|
|
Before Width: | Height: | Size: 318 KiB |
Before Width: | Height: | Size: 300 KiB |
Before Width: | Height: | Size: 249 KiB |
Before Width: | Height: | Size: 291 KiB |
Before Width: | Height: | Size: 314 KiB |
Before Width: | Height: | Size: 323 KiB |
Before Width: | Height: | Size: 217 KiB |
Before Width: | Height: | Size: 292 KiB |
Before Width: | Height: | Size: 229 KiB |
Before Width: | Height: | Size: 737 KiB |
Before Width: | Height: | Size: 558 KiB |
Before Width: | Height: | Size: 586 KiB |
Before Width: | Height: | Size: 545 KiB |
Before Width: | Height: | Size: 548 KiB |
Before Width: | Height: | Size: 600 KiB |
Before Width: | Height: | Size: 484 KiB |
Before Width: | Height: | Size: 388 KiB |
Before Width: | Height: | Size: 594 KiB |