xlzd / Img2html
Licence: wtfpl
Convert image to HTML
Stars: ✭ 789
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Img2html
Color Thief Php
Grabs the dominant color or a representative color palette from an image. Uses PHP and GD, Imagick or Gmagick.
Stars: ✭ 564 (-28.52%)
Mutual labels: image-processing
Oblique
With Oblique explore new styles of displaying images
Stars: ✭ 633 (-19.77%)
Mutual labels: image-processing
Flutter Ai Rubik Cube Solver
Flutter-Python rubiks cube solver.
Stars: ✭ 744 (-5.7%)
Mutual labels: image-processing
Pixelate
Simple Android library to pixelate images or certain areas of an image.
Stars: ✭ 602 (-23.7%)
Mutual labels: image-processing
Vpp
Video++, a C++14 high performance video and image processing library.
Stars: ✭ 655 (-16.98%)
Mutual labels: image-processing
Pytorch Cyclegan
A clean and readable Pytorch implementation of CycleGAN
Stars: ✭ 558 (-29.28%)
Mutual labels: image-processing
Flyimg
Dockerized PHP7 application runs as a Microservice to resize and crop images on the fly. Get optimised images with MozJPEG, WebP or PNG using ImageMagick. Includes face detection, cropping, face blurring, image rotation and many other options. Abstract storage based on FlySystem in order to store images on any provider (local, AWS S3...).
Stars: ✭ 762 (-3.42%)
Mutual labels: image-processing
Exposure
Learning infinite-resolution image processing with GAN and RL from unpaired image datasets, using a differentiable photo editing model.
Stars: ✭ 605 (-23.32%)
Mutual labels: image-processing
Boofcv
Fast computer vision library for SFM, calibration, fiducials, tracking, image processing, and more.
Stars: ✭ 706 (-10.52%)
Mutual labels: image-processing
Ascii art
Real-Time ASCII Art Rendering Library
Stars: ✭ 599 (-24.08%)
Mutual labels: image-processing
Image processing
High-level image processing wrapper for libvips and ImageMagick/GraphicsMagick
Stars: ✭ 600 (-23.95%)
Mutual labels: image-processing
Yolo Tf2
yolo(all versions) implementation in keras and tensorflow 2.4
Stars: ✭ 695 (-11.91%)
Mutual labels: image-processing
Vehicle counting tensorflow
🚘 "MORE THAN VEHICLE COUNTING!" This project provides prediction for speed, color and size of the vehicles with TensorFlow Object Counting API.
Stars: ✭ 582 (-26.24%)
Mutual labels: image-processing
Imgp
📸 High-performance cli batch image resizer and rotator
Stars: ✭ 744 (-5.7%)
Mutual labels: image-processing
Pyflow
Fast, accurate and easy to run dense optical flow with python wrapper
Stars: ✭ 564 (-28.52%)
Mutual labels: image-processing
Ruby Vips
Ruby extension for the libvips image processing library.
Stars: ✭ 638 (-19.14%)
Mutual labels: image-processing
Automatic Watermark Detection
Project for Digital Image Processing
Stars: ✭ 754 (-4.44%)
Mutual labels: image-processing
Scantailor Advanced
ScanTailor Advanced is the version that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes.
Stars: ✭ 694 (-12.04%)
Mutual labels: image-processing
img2html: Convert a image to HTML
img2html
用于将图片转化为 HTML 页面,并没有什么实际作用,只是为了好玩。
___ __ __ ___
__ /'___`\ /\ \ /\ \__ /\_ \
/\_\ ___ ___ __ /\_\ /\ \ \ \ \___ \ \ ,_\ ___ ___ \//\ \
\/\ \ /' __` __`\ /'_ `\ \/_/// /__ \ \ _ `\ \ \ \/ /' __` __`\ \ \ \
\ \ \ /\ \/\ \/\ \ /\ \L\ \ // /_\ \ \ \ \ \ \ \ \ \_ /\ \/\ \/\ \ \_\ \_
\ \_\\ \_\ \_\ \_\\ \____ \ /\______/ \ \_\ \_\ \ \__\\ \_\ \_\ \_\ /\____\
\/_/ \/_/\/_/\/_/ \/___L\ \ \/_____/ \/_/\/_/ \/__/ \/_/\/_/\/_/ \/____/
/\____/
\_/__/
示例
转换后的 HTML 页面: https://xlzd.me/hide/img2html/
原始图片 | 转换后 |
---|---|
使用方式
命令行
usage: img2html [-h] [-b #RRGGBB] [-s 4~30] [-c CHAR] [-t TITLE] [-f FONT] -i
IN [-o OUT]
img2html : Convert image to HTML
optional arguments:
-b #RRGGBB, --background #RRGGBB background color (#RRGGBB format)
-s (4~30), --size (4~30) font size (int)
-c CHAR, --char CHAR characters
-t TITLE, --title TITLE html title
-f FONT, --font FONT html font
-i IN, --in IN image to convert
-o OUT, --out OUT output file
代码调用
from img2html.converter import Img2HTMLConverter
converter = Img2HTMLConverter(*some config here*)
html = converter.convert(*image_path*)
# done, so easy.
安装
img2html
已经上传到了 PYPI,所以最简单的安装方式就是使用 pip:
$ pip install img2html
更新:
$ pip install img2html --upgrade
当然,你也可以通过源码安装:
$ git clone https://github.com/xlzd/img2html.git
$ cd img2html
$ python setup.py install
License
WTFPL (here)
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].