All Projects → mirukana → pixcat

mirukana / pixcat

Licence: LGPL-3.0 License
CLI and Python 3.6+ API to display images on a kitty terminal with optional resizing.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to pixcat

downscale
Better image downscale with canvas.
Stars: ✭ 80 (+280.95%)
Mutual labels:  resize, scale
Lipo
👄 Free image manipulation API service built on top of Sharp (an alternative to Jimp, Graphics Magic, Image Magick, and PhantomJS)
Stars: ✭ 101 (+380.95%)
Mutual labels:  resize, scale
Fitty
✨ Makes text fit perfectly
Stars: ✭ 3,321 (+15714.29%)
Mutual labels:  resize, scale
Gimage
A PHP library for easy image handling. 🖼
Stars: ✭ 148 (+604.76%)
Mutual labels:  resize, scale
Php Image Resize
PHP library to resize, scale and crop images. Cloud solution available at:
Stars: ✭ 955 (+4447.62%)
Mutual labels:  resize, scale
vue-responsive-text
↔ Vue component that scales its child node in relation to its parent node's width
Stars: ✭ 23 (+9.52%)
Mutual labels:  resize, scale
hotscript
HotScript - Revolutionizing how Windows works.
Stars: ✭ 29 (+38.1%)
Mutual labels:  resize
awesome-asian-girls
A curated list of websites with photosets of Asian girls.
Stars: ✭ 29 (+38.1%)
Mutual labels:  picture
mahler.c
Western music theory library in C99
Stars: ✭ 13 (-38.1%)
Mutual labels:  scale
rails async migrations
Asynchronous support for ActiveRecord::Migration
Stars: ✭ 56 (+166.67%)
Mutual labels:  scale
.dotfiles
💻 My settings for macOS, kitty, zsh, nvim, tmux, and more 🛠
Stars: ✭ 44 (+109.52%)
Mutual labels:  kitty
vue-resize-text
A vue directive which automatically resize font size based on element width.
Stars: ✭ 65 (+209.52%)
Mutual labels:  resize
PhotosWall
快速加载网络图片的图片墙,结合DiskLruCache、LruCache技术达到三级缓存目的,对DiskLruCache进行封装,使用更方便。另外采用网页爬虫对百度图片进行抓取。
Stars: ✭ 34 (+61.9%)
Mutual labels:  picture
js-image-compressor
A simple image compressor of javascript
Stars: ✭ 100 (+376.19%)
Mutual labels:  picture
Dotfiles
🌸 Configuration for i3, kitty, picom, ZSH, gtk, qutebrowser, qbittorrent and more... (All tools for an arch linux new installation)
Stars: ✭ 15 (-28.57%)
Mutual labels:  kitty
Apple-App-Icons
This repository is for hosting Apple App Icons Sketch file, .sketch
Stars: ✭ 31 (+47.62%)
Mutual labels:  picture
MusicTheory
Music Theory Library for Java and Android apps
Stars: ✭ 24 (+14.29%)
Mutual labels:  scale
android-charts
A curated list of Android Chart libraries.
Stars: ✭ 69 (+228.57%)
Mutual labels:  graphic
nord-kitty
An arctic, north-bluish clean and elegant Kitty theme
Stars: ✭ 99 (+371.43%)
Mutual labels:  kitty
vue-resize-sensor
detect container resizing
Stars: ✭ 75 (+257.14%)
Mutual labels:  resize

pixcat

PyPI downloads PyPI version PyPI pyversions

WORK IN PROGRESS

Display images on a kitty terminal with optional custom/thumbnail/fit-to-screen resizing.
Developed with the goal of being a more powerful alternative to kitty icat, while also providing an usable Python 3.6+ API.

Usage

Basic CLI examples:

pixcat file.jpg

pixcat fit-screen --enlarge /tmp/abc.jpg

pixcat thumbnail --size 128 --align left 'https://picsum.photos/480?random'

pixcat resize --min-width 1920 --min-height 1080 \
              --max-width 1920 --max-height 1080 \
              ~/images/wallpapers 1.jpg 2.png

The commands and options have short forms too.
See pixcat --help for more information.

Same examples using the Python package (no documentation yet):

from pixcat import Image

Image("file.jpg").show()

Image("/tmp/abc.jpg").fit_screen(enlarge=True).show()

Image("https://picsum.photos/480?random").thumbnail(128).show(align="left")

for i in Image.factory("~/images/wallpapers", "1.jpg", "2.png"):
    i.resize(1920, 1080, 1920, 1080).show()

Installation

Requires Python 3.6+, tested on GNU/Linux only.

pip3 install --upgrade pixcat
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].