2
Bio-punk/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
/*.bmp
|
||||
/*.png
|
BIN
Bio-punk/20190124143731.bmp.jpg
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
Bio-punk/20190124143818.bmp.jpg
Normal file
After Width: | Height: | Size: 336 KiB |
BIN
Bio-punk/20190124143909.png.jpg
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
Bio-punk/20190124143959.bmp.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
Bio-punk/20190124144017.bmp.jpg
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
Bio-punk/20190124144201.bmp.jpg
Normal file
After Width: | Height: | Size: 543 KiB |
BIN
Bio-punk/20190124144332.bmp.jpg
Normal file
After Width: | Height: | Size: 156 KiB |
BIN
Bio-punk/20190124144351.bmp.jpg
Normal file
After Width: | Height: | Size: 249 KiB |
BIN
Bio-punk/20190124144705.png.jpg
Normal file
After Width: | Height: | Size: 208 KiB |
BIN
Bio-punk/20190124144740.png.jpg
Normal file
After Width: | Height: | Size: 237 KiB |
BIN
Bio-punk/20190124144824.png.jpg
Normal file
After Width: | Height: | Size: 591 KiB |
BIN
Bio-punk/20190124144856.png.jpg
Normal file
After Width: | Height: | Size: 245 KiB |
BIN
Bio-punk/20190124144925.png.jpg
Normal file
After Width: | Height: | Size: 419 KiB |
BIN
Bio-punk/20190124145008.bmp.jpg
Normal file
After Width: | Height: | Size: 152 KiB |
BIN
Bio-punk/20190124145059.png.jpg
Normal file
After Width: | Height: | Size: 174 KiB |
27
Bio-punk/zipPhoto.py
Normal file
@ -0,0 +1,27 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import cv2
|
||||
from os import listdir
|
||||
from re import match
|
||||
from re import I as flag
|
||||
import numpy as np
|
||||
|
||||
def resize_width(image, width=1200):
|
||||
power = width * 1.0 / image.shape[1]
|
||||
dim = (width, int(image.shape[0] * power))
|
||||
resized = cv2.resize(image, dim, interpolation=cv2.INTER_AREA)
|
||||
return resized
|
||||
|
||||
def zip_photo(filepath):
|
||||
targetWidth = 1366
|
||||
image = cv2.imread(filepath)
|
||||
if image.shape[0] > targetWidth:
|
||||
image = resize_width(image=image, width = targetWidth)
|
||||
cv2.imwrite("{}.jpg".format(filepath), image)
|
||||
|
||||
dirpath = "."
|
||||
for filename in listdir(dirpath):
|
||||
ans = match("^(.*)[.]((png)|(bmp)|(jpg)|(jpeg))$", filename, flag)
|
||||
if ans is not None:
|
||||
print (filename)
|
||||
zip_photo("{}/{}".format(dirpath, filename))
|
BIN
KagurazakaMoeAya/13 - 1.webp
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
KagurazakaMoeAya/MoeAya JK1.jpeg
Normal file
After Width: | Height: | Size: 423 KiB |
BIN
KagurazakaMoeAya/MoeAya JK2.jpeg
Normal file
After Width: | Height: | Size: 363 KiB |
BIN
KagurazakaMoeAya/男孩子也可以穿水着.jpg
Normal file
After Width: | Height: | Size: 442 KiB |
BIN
KagurazakaMoeAya/腿子1.jpg
Normal file
After Width: | Height: | Size: 681 KiB |
BIN
KagurazakaMoeAya/腿子2.jpg
Normal file
After Width: | Height: | Size: 767 KiB |
BIN
KagurazakaMoeAya/腿子3.jpg
Normal file
After Width: | Height: | Size: 661 KiB |
BIN
KagurazakaMoeAya/裸穿JSK.jpg
Normal file
After Width: | Height: | Size: 649 KiB |
BIN
KagurazakaMoeAya/鲸落1.jpg
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
KagurazakaMoeAya/鲸落2.jpg
Normal file
After Width: | Height: | Size: 730 KiB |
BIN
KagurazakaMoeAya/鲸落3.jpg
Normal file
After Width: | Height: | Size: 519 KiB |
BIN
KagurazakaMoeAya/鲸落4.jpg
Normal file
After Width: | Height: | Size: 376 KiB |
BIN
MidoriKochiya/-7ac83c89d82c3acf.webp
Normal file
After Width: | Height: | Size: 161 KiB |
BIN
MidoriKochiya/IMG_20170325_153748.webp
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
MidoriKochiya/IMG_20180802_161312.jpg
Normal file
After Width: | Height: | Size: 1012 KiB |
BIN
MidoriKochiya/IMG_20190111_161713.jpg
Normal file
After Width: | Height: | Size: 1.0 MiB |
@ -2,6 +2,7 @@
|
||||
|
||||
### Dress - A Study and Practice project of git.
|
||||
|
||||
[![Contributors](https://img.shields.io/github/contributors/komeiji-satori/Dress.svg)](https://github.com/komeiji-satori/Dress/graphs/contributors)
|
||||
[![Build Status](https://www.travis-ci.org/komeiji-satori/Dress.svg?branch=master)](https://www.travis-ci.org/komeiji-satori/Dress)
|
||||
[![License](https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-nc-sa/4.0/)
|
||||
|
||||
|
BIN
fachep/IMG_20190127_230859.jpg
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
koishi/MYXJ_20181227193125_fast.jpg
Normal file
After Width: | Height: | Size: 434 KiB |
BIN
koishi/MYXJ_20181227193200_fast.jpg
Normal file
After Width: | Height: | Size: 413 KiB |
BIN
koishi/MYXJ_20190128194647_fast.jpg
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
koishi/MYXJ_20190128195633_fast.jpg
Normal file
After Width: | Height: | Size: 478 KiB |
BIN
koishi/MYXJ_20190128200145_fast.jpg
Normal file
After Width: | Height: | Size: 458 KiB |
BIN
njlyf2011/IMG_9198.JPG
Normal file
After Width: | Height: | Size: 9.5 MiB |
BIN
ycwei982/2019_chino_0.jpg
Normal file
After Width: | Height: | Size: 1.2 MiB |
@ -1,3 +1,5 @@
|
||||
# ycwei982 (智弦正)
|
||||
|
||||
[webpage](https://ycwei982.com)
|
||||
|
||||
I'm such a boring person because no reason. Check my [Twitter](https://twitter.com/ycwei982) for more boring things xD
|
||||
|
@ -1,2 +1,4 @@
|
||||
禁止任何形式的修改、转载。
|
||||
https://weibo.com/5878470349
|
||||
|
||||
https://weibo.com/5878470349
|
||||
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png" /></a><br />本<span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/StillImage" rel="dct:type">作品</span>由<a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/komeiji-satori/Dress/tree/master/yinchao-qaq" property="cc:attributionName" rel="cc:attributionURL">yinchao-qaq</a>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/">知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议</a>进行许可。
|
||||
|