Bmp-transformer

所属分类:模式识别(视觉/语音等)
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2020-12-18 09:49:03
上 传 者sh-1993
说明:  将(几乎)任何现代图片转换为与旧学校系统兼容的3层位图图像,比特深度为24,
(Transform (virtually) any modern picture to an old-school system compatible 3-layer bitmap image with bit depth 24! ,)

文件列表:
LICENSE (1210, 2020-12-18)
Makefile (38, 2020-12-18)
bmp-transformer/ (0, 2020-12-18)
bmp-transformer/app.py (3611, 2020-12-18)
bmp-transformer/modify_pictures.py (2302, 2020-12-18)
docs/ (0, 2020-12-18)
docs/Screenshot.png (7381, 2020-12-18)
requirements.txt (18, 2020-12-18)

# BMP Transformer This is a small project made without fee on request from an industrial knitting factory in Sweden, which feeds its (old) machines with images containing patterns to knit. Compatibility errors due to the images' bit depth, transparency layer or file format were frequently encountered, which is why they asked me for a small application that converts to the correct file format, and allows resizing and stretching. Feel free to take inspiration from, modify or improve this small project to your liking without notice to me as long as it is in accordance with the licenses of [Pillow](https://github.com/python-pillow) and [PySimpleGUI](https://github.com/PySimpleGUI). ### Usage 1) Start **main.py** 2) Choose file with the button 'Choose file...' 3) Check 'Use original dimensions' to do so, otherwise specify new dimensions using the available inputs. Rescaling can be done by inputting a float value in the scale input. 4) Press 'Transform' 5) The transformed picture is outputted in alongside the original with the ending *_tr* This application takes all common file formats (jpeg, png, tif, jp2 and bmp among others) and outputs a 3 layer bitmap image with bit depth 24. ### Screenshot ![Screenshot of main window](docs/Screenshot.png?raw=true "Screenshot of main window") ### Credits: The Python Imaging Library (PIL) is Copyright 1997-2011 by Secret Labs AB Copyright 1995-2011 by Fredrik Lundh Pillow is the friendly PIL fork. It is Copyright 2010-2020 by Alex Clark and contributors The full Python-Pillow license can be found [here](https://github.com/python-pillow/Pillow/blob/master/LICENSE).

近期下载者

相关文件


收藏者